VisualBuilder
  Home > Html > Tutorials > HTML Frames - HTML tutorial
Tell a friend
Link to us
Total Members
      Members: 84663
     
Sitemap Forum Chat
Home
HTML Tutorial Tutorial Home
1 . HTML Hyper Text Markup Language
2 . Getting Started with HTML
3 . What are HTML tags for?
4 . Lowercase Tags VS. Uppercase Tags:
5 . HTML elementary tags
6 . Other tags used to format text
7 . Some useful tips while working with HTML:
8 . Character entities
9 . HTML Links
10 . Adding colors to your links
11 . Adding Images:
12 . Adding Alternate text:
13 . Setting your HTML background
14 . HTML Frames
15 . Creating inbound links
16 . HTML Forms
17 . The Submit button and the Action Attribute
18 . Color definition in HTML
19 . MetaTags in HTML
 
 
HTML Home
HTML Members (2651)
HTML Member Articles ( 1 )
HTML Discussion (5)
HTML Q & A ( 0 )
- HTML Ask Question
- HTML Questions
- HTML Unanswered Questions
HTML Resources
HTML Source Code (8)
HTML Articles (0)
HTML Blogs (0)
HTML Jobs (0)
HTML Components (4)
HTML Books (0)
HTML Websites (1)
HTML News (0)
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.Net Security,Internationalisation And Deployment
ASP.NET Tutorial
C# Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (451 )
Source Code (3275 )
Articles (359 )
Books (372 )
Components (1596 )
News (892 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise

Html Tutorial
 HTML Frames
  << Prev: Setting your HTML background Next: Creating inbound links >>

HTML Frames

Frames are used for displaying more than one HTML document in your browser window. No frame is connected to another, each is independent.

There are some drawbacks of using Frames:


- It becomes difficult to print the complete page

- It gets complicated to keep a track of more HTML documents


Important Tags related to Frames:


First of all it is really essential to know what tags are used for creating frames.


























Tag

 




Used for:

 




<frameset>



Defining a set of frame



<frame>



Defining an associated window



<noframes>



Defining noframes area for browsers which are unable to handle frames



<iframe>



Defining an inline associated window






What is a frameset tag?

To create frames in your browser window you need to use the frameset tag i.e. <frameset>. This frameset has a set of rows and columns. You can add as many columns and rows as you want. The space of the screen which will be occupied by the rows and columns is denoted by the values of the rows and columns.


What is a Frame tag?

A Frame tag is <frame>. It is used to describe the HTML documents which are to be put into the frames.


You can get a better idea of HTML frames by looking at the examples given below.


<frameset cols=“50%, 90%”
   <frame  src= “frame_1.htm”>
  
<frame  src= “frame_2.htm”>
</frameset>


In the example given above, there is a frameset consisting of two columns. The first one is set to 50% of the width of the browser window. The second column is set to 90% of the width of the browser window.

The first HTML document that is ‘frame_1.htm’ is placed into the first column and the second one that is ‘frame_2.htm’ is placed into the second column.



 


  << Prev: Setting your HTML background Next: Creating inbound links >>
Html Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
 
ADVERTISEMENT
Partner List
Code Project
ASP Alliance
More
 
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising