HTML


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

HTML Frames The HTML Frame Tag


Register / Login

Register to post on our forums and use our advanced features.
User Name:          Password:   
 
  • 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.

 
Google Web ahfb2000   
 

Web Hosting


Price      
Space    
Transfer 
Platform 

Domain Names




Courtesy of
onestopdomains.com

PHP Scripts


  


About us  Advertise  Contact us  Privacy  Sitemap

Copyright © 1999 - 2007 Advanced HTML For Beginners and AHFB2000, All rights reserved.
Find out more about isphost.org and why you should avoid them at all cost.