HTML
  Home arrow HTML arrow Page 7 - HTML Tutorial
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

HTML Tutorial
By: Anand Narayanaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 65
    2004-10-11

    Table of Contents:
  • HTML Tutorial
  • Paragraph Tags, Attributes and Headings
  • Using Lists
  • Indents and Links
  • Working with Images
  • Working with Tables
  • Working with Frames
  • Using Forms, Text, Buttons, and Combo Box
  • Text Area, Check Box, and Radio Buttons
  • Additional Tags
  • Drawing Lines, SUB and SUP Tags
  • Test Yourself Questions

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    HTML Tutorial - Working with Frames


    (Page 7 of 12 )

    You can divide your browser window into two or more by applying frames. You can create any number of frames you require. They are created using <FRAMESET> tag. This tag helps you to specify the division, rows (ROWS Attribute) or columns (COLS Attribute) of the Window. In order to create frames, you should have a minimum of two html files. The paths to these files are specified using <FRAME> tag’s src attribute as shown in the listing given below:
     
    Listing 16

        <FRAMESET rows = "10%,*">
        <FRAME src = "first.html">
        <FRAME src = "second.html">
        <FRAMESET>

    The above creates a frame of rows. The first.html file occupies the first 10% and remaining space will be occupied by second.html file. Keep in mind that if you try to insert <BODY> tag, the frame will not appear on the screen.

    Attributes used with Frameset Tag

    1. Cols: To divide the window into columns.
    2. Bordercolor: Changes the border color of the frame border.
    3. Frameborder: The values can be 0 or 1. The frame border will be invisible if you apply 0. This attribute is applied on majority of sites to make the appearance perfect.

    Attributes used with Frame Tag

    1. noresize: By specifying this attribute, the frame border will not be resizable. Users can’t resize the window using their mouse.

    2. Scrolling: The values are Yes / No. If No, scrollbars will not appear. By default, scrollbars will appear. If the content is less, you can apply this attribute.

    Advanced Usage of Frames

    One of the advanced usages of frames is its Nesting. Here, two rows are created and the bottom frame is divided into two columns. Like this we can apply any number of frames, provided each such frame can accommodate relevant HTML files. However, I recommend you restrict the frame divisions so that the web page looks neat and is easier to navigate. Try out the code given below:

    Listing 17

       <FRAMESET rows = "50%,*">
       <FRAME src = "first.html">
        <FRAMESET cols = "20%,*">
        <FRAME src = “second.html”>
        <FRAME src = "third.html">
        <FRAMESET>
        <FRAMESET>

    In the above code, a row frame is created with equal portion and the second row is divided into two-column frame. Be sure to create these three html files before viewing the output. Otherwise, you will get error messages.

    More HTML Articles
    More By Anand Narayanaswamy


       · this is really terrible. how did this win a contest?? the author could not even use...
       · I read the date of the article twice, as it would have been quite a valid article in...
       · Dear Reader;The article won because of the quality of the article, including...
       · about the benefits of charcoal for transportation, it'll win? This is...
       · You know, you're absolutely right. All I can say is that I apologize for any...
       · Hi All,Thanks for your comments. Well. I am the author of this HTML...
       · Point taken. But that is like taking out the english people use in text messaging...
       · "The <BLOCKQUOTE> tag double indents a block of text from both margins automatically...
       · I noticed one thing about that tutorial that I find VERY amateur. How many of...
       · Right or wrong, the author has still made an effort to explain the 'concept' of...
       · Even for HTML 3.2, this article advocates bad practises. Fact is that nobody _needs_...
       · I think the quality of this article is really good. It would be really helpful for...
       · No offense Shiju, but your website is garbage as well, and you are most certainly...
       · man i just spent like 2 hours reading and following this tutorial and now that im...
       · I was just thinking the SAME EXACT thing...
       · this article serves its purpose but its step by step tutorial is too easy and...
       · I am photographer and i still teach B&W using a darkroom. I see both side, although...
     

    HTML ARTICLES

    - Completing Construction of a Database Form w...
    - Maximizing and Restoring Images in a Tabular...
    - Building the Recordset for an HTML Database ...
    - Laying Out a Database Form with HTML
    - Tabular Database Form Functions with HTML
    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset
    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT