Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Frames in HTML

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 248
    Comment on it

    We use Frames to divide the window into multiple sections where each section contains its own individual information.

    The main disadvantage with frames is that some smaller devices cannot cope with frames as their screens are not big enough to divide window in multiple sections.

    Example:

    <!DOCTYPE html>
    <html>
    <head>
    <title>Example Of Frameset</title>
    </head>
    <frameset rows="20%,60%,20%">
       <frame name="top" src="" />
       <frame name="main" src="" />
       <frame name="bottom" src="" />
       <noframes>
       <body>
          Your browser does not support frames.
       </body>
       </noframes>
    </frameset>
    </html>

    With <frameset> tag we can split the window into frames. In this, the horizontal frames are determined by the rows attribute of <frameset> whereas tag the vertical frames were determined or defined by cols attribute.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: