Sams Teach Yourself HTML 4 in 24 Hours
- Table of Contents
- Copyright
- About the Author
- Acknowledgments
- Tell Us What You Think!
- Put Your HTML Page Online Today
- I. Your First Web Page
- Hour 1. Understanding HTML and XML
- Hour 2. Create a Web Page Right Now
- Hour 3. Linking to Other Web Pages
- Hour 4. Publishing Your HTML Pages
- II. Web Page Text
- Hour 5. Text Alignment and Lists
- Hour 6. Text Formatting and Font Control
- Hour 7. Email Links and Links Within a Page
- Hour 8. Creating HTML Forms
- III. Web Page Graphics
- Hour 9. Creating Your Own Web Page Graphics
- Hour 10. Putting Graphics on a Web Page
- Hour 11. Custom Backgrounds and Colors
- Hour 12. Creating Animated Graphics
- IV. Web Page Design
- Hour 13. Page Design and Layout
- Hour 14. Graphical Links and Imagemaps
- Hour 15. Advanced Layout with Tables
- Hour 16. Using Style Sheets
- V. Dynamic Web Pages
- Hour 17. Embedding Multimedia in Web Pages
- Hour 18. Interactive Pages with Applets and ActiveX
- Hour 19. Web Page Scripting for Non-Programmers
- Hour 20. Setting Pages in Motion with Dynamic HTML
- VI. Building a Web Site
- Hour 21. Multipage Layout with Frames
- Hour 22. Organizing and Managing a Web Site
- Hour 23. Helping People Find Your Web Pages
- Hour 24. Planning for the Future of HTML
- VII. Appendixes
- A. Readers' Most Frequently Asked Questions
- B. HTML Learning Resources on the Internet
- C. Complete HTML 4 Quick Reference
- D. HTML Character Entities
Summary
In this hour you learned how to display more than one page at a time by splitting the Web browser window into frames. You learned to use a frameset document to define the size and arrangement of the frames, as well as which Web page or image will be loaded into each frame. You saw how to create links that change the contents of any frame you choose, while leaving the other frames unchanged. You also discovered several optional settings that control the appearance of resizable borders and scrollbars in frames. Finally, you saw how to nest framesets to create complex frame layouts.
Table 21.1 summarizes the tags and attributes covered in this hour.
Table 21.1. HTML Tags and Attributes Covered in Hour 21
| Tag | Attribute | Function |
| <frameset>…</frameset> | Divides the main window into a set of frames that can each display a separate document. | |
| rows="&hellip" | Splits the window or frameset vertically into a number of rows specified by a number (such as 7), a percentage of the total window width (such as 25%), or an asterisk (*) indicating that a frame should take up all the remaining space or divide the space evenly between frames (if multiple * frames are specified). | |
| cols="&hellip" | Works similar to rows, except that the window or frameset is split horizontally into columns. | |
| framespacing="&hellip" | Space between frames, in pixels (Microsoft Internet Explorer 3 only). | |
| frameborder="&hellip" | Specifies whether to display a border for the frames. Options are yes and no (Microsoft Internet Explorer 3 only). | |
| border="&hellip" | Size of the frame borders in pixels (Netscape Navigator only). | |
| <frame /> | Defines a single frame within a <frameset>. | |
| src="&hellip" | The URL of the document to be displayed in this frame. | |
| name="&hellip" | A name to be used for targeting this frame with the target attribute in <a href> links. | |
| <marginwidth> | The amount of space (in pixels) to leave to the left and right side of a document within a frame. | |
| <marginheight> | The amount of space (in pixels) to leave above and below a document within a frame. | |
| scrolling="&hellip" | Determines whether a frame has scrollbars. Possible values are yes, no, and auto. | |
| noresize | Prevents the user from resizing this frame (and possibly adjacent frames) with the mouse. | |
| <noframes>…</noframes> | Provides an alternative document body in <frameset> documents for browsers that do not support frames (usually encloses <body>…</body>). | |
| <iframe>…</iframe> | Creates an inline frame. Currently only works in Microsoft Internet Explorer version 3 or later. | |
| (<iframe> accepts all the same attributes as does <frame />.) |

Account Sign In
View your cart