Powered by:
FutureQuest Hosting


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."


Sponsor
HTML   Advanced HTML For Beginners > HTML > HTML Frames

 Register

HTML

  • Learn about HTML frames
  • Complete HTML frames tags list
  • Get help putting HTML frames on your web site

You've split your page up, now what? Now you have to tell the browser what HTML files are going to be in each of those sections of the screen. This tag tells the browser where to go to fill those sections of the screen.

Here is an example

<frame src="index2.htm" name="big" noresize scrolling=yes marginheight="10" marginwidth="10">

This tag has a lot of options to it. here are the attributes

  • frame * - fills the first empty space (not already filled) created in the <frameset> tag

  • src * - specifies the HTML file that will be in that space (can either be a http://... or can be a relative URL, as above)

  • name * - sets a name for the frame (this will be very important later)

  • noresize - frames can usually be resized. This takes away that option

  • scrolling - scroll bars? (values: yes - scroll bars will automatically appear: no; even if needed, scroll bars won't appear: auto; scroll bars appear only if needed)

  • marginheight - specifies top and bottom margins for frame in pixels.

  • marginwidth - specifies left and right margins for frame in pixels.

* = mandatory

 This tag has no closing tag, and is used only inside of the <frameset> tag. If the rows value in the <frameset> tag has three values (i.e.: *,30%,50%), then you need to have three <frame> tags inside of it. The values in the <frameset> tag are filled sequentially with the <frame> tags; the * would be the first <frame> tag, and so on...

Back to the HTML frames menu.

Sponsor
Web Hosting
Shared       
Reseller     
VPS             
Dedicated 
Price:   $(US)
Space:     (MB)
Transfer:(GB)
Platform:


HTML Forum

HTML Tools