Build Your First Frame Set

by ladykathleen on January 28, 2012


Once we have the frameset page complete, we need to emanate the frames. Each support that we listed on the frameset page: (frame src=”navigation.html” / support src=”main.html” /) contingency have an tangible HTML page compared with it.

Step 1 of Creating the Navigation Page

Open your favorite content editor to a vacant page. Save this page as navigation.html.

Step 2 of Creating the Navigation Page

Each support is usually a normal HTML page, so start with your simple HTML tags:

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
 html
 head
 titleNavigation Frame/title
 /head

Note that while the pretension won’t be displayed in normal frameset operation, it’s always a good thought to have it there, if usually so we don’t forget what the page is, 6 months from now.

Step 3 of Creating the Navigation Page

This is the navigation support so let’s dress it adult a bit and give it a credentials color.

body bgcolor="#99ccff"

This is also a slight frame, usually 200 pixels wide, so we should make your navigation links brief and easy to read. This site will have 3 pages to go to (we’ll make one of them in this tutorial): the categorical page, a photos page, and a page “about me”.

Step 4 of Creating the Navigation Page

If we write the links as we routinely would (a href=”…”link/a) they would open in the navigation support and be really narrow. Instead we have to supplement the charge to the .

The navigation links demeanour like this:

p
 a href="main.html" target="main"Main Page/abr /
 a href="photos.html" target="main"Photos/abr /
 a href="about.html" target="main"About Me/a
 /p

Step 5 of Creating the Navigation Page

The usually other thing we competence wish on the page is your hit information in the address.

addressa href="mailto:your email address"Your Name Here/a/address

Then tighten the page like we would any other HTML document:

/body
 /html

Next Page

Related Posts:

Previous post:

Next post: