Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
HTML in 10 Steps or Less- P10:Welcome to HTML in 10 Simple Steps or Less. Our mission in writing this book is to provide a quick and accessible way for you to learn Hypertext Markup Language — the lingua franca of the World Wide Web. We hope this book provides a resource that beginning and intermediate HTML coders can use to improve their Web development skills. It is also our hope that it fills multiple roles as both a teaching tool and a reference once you expand your skills. | 156 Part 8 Task 71 note The common practice is to simply inform the visitors that they have reached a frames-based site and redirect them to another version of your site that isn t frames-based. Providing noframes Content Frames weren t initially part of the HTML specification. They were introduced in Netscape 2.0 and adopted shortly thereafter in Internet Explorer 3.0. Earlier browsers don t support frames. To provide content for these older browsers noframes content has been the traditional method of making framesbased sites backwards-compatible. 1. Open the frameset document in your text editor. 2. Below the closing frameset tag enter an opening noframes tag as shown in Listing 71-1. html head title No Frames title head frameset rows 75 frame src top.html frameset cols 150 frame src left.html frame src right.html frameset frameset noframes html Listing 71-1 Start after the closing frameset tag Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Working with Frames 3. Enter any type of text you d place in the body section of a normal HTML document as shown in Listing 71-2. 157 Task 71 html head title No Frames title head frameset rows 75 frame src top.html frameset cols 150 frame src left.html frame src right.html frameset frameset noframes p Your browser doesn t support frames. br Don t panic. Simply go a href index-2.html here. a p html tip If you don t have a copy of an older browser to test your noframes content with copy and paste the content into an ordinary document save it and test it that way. Listing 71-2 Adding text to explain to people what to do if their browsers don t support frames 4. Close the noframes section with a closing noframes tag noframes p Your browser doesn t support frames. br Don t panic. Simply go a href index-2.html here. a p noframes cross-reference The likelihood that anyone has a browser so old that it doesn t support frames is pretty slim. But there is a good chance that most folks have Internet Explorer.