SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
HTML – Frames
By
Dr. I. Uma Maheswari
iuma_maheswari@yahoo.co.in
Frames
• Html allows a significant feature of dividing
the browser’s screen into different windows
called Frames.
• Frames are created using <frameset>
…….</frameset> tag.
• When this tag is used in the document, the
<body> tag is not used.
• It actually replaces <body> tag and hence
formatting tags, hyperlinks or document
text cannot be used in the frame definition.
Attributes of <frameset> tag
1. Cols
• This attribute is used to divide the browser
screen into number of vertical frames (columns).
• A value is given to this attribute which is either in
terms of pixels or percentage.
• The advantage of using percentage is that when
the size of the browser changes, these value will
also change correspondingly.
Eg., <frameset cols = “40%, 60%”>
<frameset cols = “50%, 30%, * ”>
2. Rows
• This attribute instructs the browser to spilt
the screen into number of horizontal
frames (rows).
Eg., <frameset rows = “40%, 60%”>
<frameset rows = “50%, 30%, * ”>
Frame tag
• <frame> tag defines the contents and
properties of an individual frame declared
using the Frameset.
• <frame> tag lies inside the frameset
element.
• <frame> tag does not contain an end tag.
Frame tag attribute
• Name – This attribute assigns a specific
name to a frame.
• SRC – refers the html document to be
displayed in the frame.
Eg., <frame name = “firstname” src =
“test.html”>
Example for frames
<HTML>
<HEAD>
<TITLE> frames </TITLE>
</HEAD>
<frameset cols – “50%, *”>
<frame src = “poem.html”> poem.html
<frame src = “tree.html”> tree.html
</frameset>
</HTML>
Link between frames
• TARGET attribute – is used with each link to specify the frame in
which the linked document should be displayed.
Eg.,
<HTML>
<HEAD>
<TITLE> frames </TITLE>
</HEAD>
<frameset cols – “60%, 40%”>
<frame src = “main.html”>
<frame sc = “side.html”> name = “secondframe”>
</frameset>
</HTML>
Save this as frame.html
<HTML>
<HEAD>
<TITLE> main part </TITLE>
</HEAD>
<body>
<H1>menu</h1>
<UL>
<LI> <A href = “poem.html” target = “secondframe”>
<br><br>
<LI> <A href = “tree.html” target = “secondframe”>
</UL>
</body>
</HTML>
Save the file as main.html

More Related Content

PPT
PDF
Html frames
PPTX
Basic html structure
PPTX
Cascading style sheets (CSS)
PPTX
Html frames
PPTX
Html ppt
Html frames
Basic html structure
Cascading style sheets (CSS)
Html frames
Html ppt

What's hot (20)

PPTX
Cascading Style Sheet (CSS)
ODP
Introduction of Html/css/js
PPTX
Bootstrap PPT Part - 2
PPT
Bootstrap Part - 1
PPT
JavaScript Tutorial
PPTX
HTML: Tables and Forms
PPTX
HTML iframe
PPTX
html-table
PPTX
HTML Forms
PPTX
Introduction to php
PPTX
Css position
PPT
Css lecture notes
PPSX
Javascript variables and datatypes
PPTX
Html forms
PDF
Inline, Block and Positioning in CSS
PPTX
Html Frames
PDF
Introduction to php
PPTX
Dynamic HTML (DHTML)
PPTX
Cascading Style Sheet (CSS)
Introduction of Html/css/js
Bootstrap PPT Part - 2
Bootstrap Part - 1
JavaScript Tutorial
HTML: Tables and Forms
HTML iframe
html-table
HTML Forms
Introduction to php
Css position
Css lecture notes
Javascript variables and datatypes
Html forms
Inline, Block and Positioning in CSS
Html Frames
Introduction to php
Dynamic HTML (DHTML)
Ad

Similar to computer language - Html frames (20)

PPT
htmlframes-201129101735 (1)htmlframe.ppt
PPTX
uptu web technology unit 2 html
PPTX
HTML Frameset & Inline Frame
PPTX
Final_Frames.pptx
PPTX
HTML FRAMES properties and list of frames in detail
PDF
5. Frames & Forms.pdf
DOCX
Html frames
PPTX
Presentation1
PPTX
Frames and its components
PDF
HTML-Part2
PPT
frames
PPT
Ashish
PPTX
Frames.pptx Frames (using the <frame> tag) are used to divide a web browser w...
PDF
02html Frames
DOC
Handout6 html frames
PPTX
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
PPTX
DEFINE FRAME AND FRAME SET WITH EXAMPLE
PPT
htmlframes-201129101735 (1)htmlframe.ppt
uptu web technology unit 2 html
HTML Frameset & Inline Frame
Final_Frames.pptx
HTML FRAMES properties and list of frames in detail
5. Frames & Forms.pdf
Html frames
Presentation1
Frames and its components
HTML-Part2
frames
Ashish
Frames.pptx Frames (using the <frame> tag) are used to divide a web browser w...
02html Frames
Handout6 html frames
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
DEFINE FRAME AND FRAME SET WITH EXAMPLE
Ad

More from Dr. I. Uma Maheswari Maheswari (20)

PPSX
2h. Pedagogy of mathematics part II (numbers and sequence - ex 2.8)
PPSX
2g. Pedagogy of mathematics part II (numbers and sequence - ex 2.7)
PPSX
2f. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.6)
PPSX
2e. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.5)
PPSX
2d. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.4)
PPSX
2c. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.3)
PPSX
2b. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.2)
PPSX
2a. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.1)
PPSX
Computer language - Html forms
PPSX
Computer language - Html tables
PPSX
Pedagogy - teaching models
PPSX
Computer language - html links
PPSX
Computer language - html images and sounds
PPSX
computer language - html lists
PPSX
Computer language - HTML tags
PPSX
Computer language - HTML (Hyper Text Markup Language)
PPSX
X std maths - Relations and functions (ex 1.5 &amp; 1.6)
PPSX
X std maths - Relations and functions (ex 1.4)
PPSX
X std maths - Relations and functions (ex 1.3)
PPSX
X std mathematics - Relations and functions (Ex 1.2)
2h. Pedagogy of mathematics part II (numbers and sequence - ex 2.8)
2g. Pedagogy of mathematics part II (numbers and sequence - ex 2.7)
2f. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.6)
2e. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.5)
2d. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.4)
2c. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.3)
2b. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.2)
2a. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.1)
Computer language - Html forms
Computer language - Html tables
Pedagogy - teaching models
Computer language - html links
Computer language - html images and sounds
computer language - html lists
Computer language - HTML tags
Computer language - HTML (Hyper Text Markup Language)
X std maths - Relations and functions (ex 1.5 &amp; 1.6)
X std maths - Relations and functions (ex 1.4)
X std maths - Relations and functions (ex 1.3)
X std mathematics - Relations and functions (Ex 1.2)

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Cell Types and Its function , kingdom of life
PDF
RMMM.pdf make it easy to upload and study
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Pre independence Education in Inndia.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Microbial diseases, their pathogenesis and prophylaxis
GDM (1) (1).pptx small presentation for students
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Anesthesia in Laparoscopic Surgery in India
Microbial disease of the cardiovascular and lymphatic systems
Cell Types and Its function , kingdom of life
RMMM.pdf make it easy to upload and study
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
O7-L3 Supply Chain Operations - ICLT Program
human mycosis Human fungal infections are called human mycosis..pptx
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Renaissance Architecture: A Journey from Faith to Humanism
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Complications of Minimal Access Surgery at WLH
Pre independence Education in Inndia.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Sports Quiz easy sports quiz sports quiz
Microbial diseases, their pathogenesis and prophylaxis

computer language - Html frames

  • 2. Frames • Html allows a significant feature of dividing the browser’s screen into different windows called Frames. • Frames are created using <frameset> …….</frameset> tag. • When this tag is used in the document, the <body> tag is not used. • It actually replaces <body> tag and hence formatting tags, hyperlinks or document text cannot be used in the frame definition.
  • 3. Attributes of <frameset> tag 1. Cols • This attribute is used to divide the browser screen into number of vertical frames (columns). • A value is given to this attribute which is either in terms of pixels or percentage. • The advantage of using percentage is that when the size of the browser changes, these value will also change correspondingly. Eg., <frameset cols = “40%, 60%”> <frameset cols = “50%, 30%, * ”>
  • 4. 2. Rows • This attribute instructs the browser to spilt the screen into number of horizontal frames (rows). Eg., <frameset rows = “40%, 60%”> <frameset rows = “50%, 30%, * ”>
  • 5. Frame tag • <frame> tag defines the contents and properties of an individual frame declared using the Frameset. • <frame> tag lies inside the frameset element. • <frame> tag does not contain an end tag.
  • 6. Frame tag attribute • Name – This attribute assigns a specific name to a frame. • SRC – refers the html document to be displayed in the frame. Eg., <frame name = “firstname” src = “test.html”>
  • 7. Example for frames <HTML> <HEAD> <TITLE> frames </TITLE> </HEAD> <frameset cols – “50%, *”> <frame src = “poem.html”> poem.html <frame src = “tree.html”> tree.html </frameset> </HTML>
  • 8. Link between frames • TARGET attribute – is used with each link to specify the frame in which the linked document should be displayed. Eg., <HTML> <HEAD> <TITLE> frames </TITLE> </HEAD> <frameset cols – “60%, 40%”> <frame src = “main.html”> <frame sc = “side.html”> name = “secondframe”> </frameset> </HTML> Save this as frame.html
  • 9. <HTML> <HEAD> <TITLE> main part </TITLE> </HEAD> <body> <H1>menu</h1> <UL> <LI> <A href = “poem.html” target = “secondframe”> <br><br> <LI> <A href = “tree.html” target = “secondframe”> </UL> </body> </HTML> Save the file as main.html