Download presentation
Presentation is loading. Please wait.
Published byKory Strode Modified over 10 years ago
1
Frames How to make a page that uses frames
2
Preview There used to be a time that frames were frowned upon because most browsers did not support them Nowadays most browser do support frames without problems Therefore, unless you think your web audience is using really old browsers, using frames shouldnt be a problem
3
First Step First you need to make a basic web page However, this time instead of having the tags replace them with tags ….
4
Defining Rows/Columns You can then define how many rows or columns you want to start with The numbers represent widths in pixels, the * at the end means that the last row/column should fill the rest of the window …. ….
5
Frameset Attributes Other attributes you can use in the FRAMESET tag are: FRAMEBORDER= –yes or no fit between the quotes BORDER= –define the width of the frameset with numbers in pixels BORDERCOLOR=# –define a hex-numbered color FRAMESPACING= –define the spacing between frames
6
Defining a Frame Now between the FRAMESET tag you define your FRAME Attributes are: –NAME –SRC (what page to load initially) –MARGINWIDTH= –MARGINHEIGHT= –SCROLLING=YES|NO|AUTO –NORESIZE –FRAMEBORDER=YES|NO –BORDERCOLOR=#rrggbb Example:
7
Nesting Frames You can nest a frameset inside a frame to get alternating row and column type frames
8
Linking Frames To link to one frame to another you simply target to the frame name in the link For example: –in the menu.html file I would have a link to main.htm target=main This will open in the main window
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.