SlideShare a Scribd company logo
Mr. A. Selva Kumar, MCA., M.Phil.,
Assistant Professor
Department of Computer Applications
Ayya Nadar Janaki Ammal College
Sivakasi
Frames
Introduction to Frames
• The HTML tags that divide a browser screen into two or more HTML
recognizable unique regions is the <FRAMESET>…</FRAMESET> tags.
• Each unique region is called a frame.
• Each frame can be loaded with a different document and hence, allow
multiple HTML documents to be seen concurrently.
The<FRAMESET>tag
• The splitting of a browser screen into frames is accomplished with the
<FRAMESET> …</FRAMESET> tags embedded into the HTML
document.
• The <FRAMESET>…</FRAMESET> tags require one of the following
two attribute depending on whether the screen has to be divided into rows or
columns.
ROWS : This attribute is used to divide the screen into multiple rows.
It can be set equal to a list of values, depending on the required size of each row.
The values can be:
 A number of pixels
 Expressed as a percentage of the screen resolution
• The symbol *, which indicates the remaining space.
COLS : This attribute is used to divide the screen into multiple columns.
It can be set equal to a list of values, depending on the required size of each column. The values can be:
 A number of pixels
 Expressed as a percentage of the screen resolution
 The symbol *, which indicates the remaining space.
Example
<FRAMESET ROWS=”33%, 33%, 33 %”> --Divides the browser screen into 3 equal horizontal
sections
<FRAMESET COLS=”50%,50%”> --Splits the 1st
Horizontal section into 2 equal
Vertical Sections
<FRAMESET>
<FRAMESET COLS=”50%,50%”> -- Splits the 2nd
Horizontal section into 2
equal Vertical Sections
</FRAMESET>
</FRAMESET>
The <FRAME> tag
• Once the browser screen is divided into rows (Horizontal Sections) and
columns (Vertical Sections), each unique section defined can be loaded with
different HTML documents.
• This is achieved by using <FRAME> tag, which takes in the following
attributes.
SRC=”url” : Indicates the URL of the documents to be loaded into the frame.
MARGINHEIGHT=”n” : Specifies the amount of white space to be left at the top and bottom of the frame.
MARGINWIDTH=”n” : Specifies the amount of white space to be left along the sides of the frame.
NAME=”name” : Gives the frame a unique name so it can be targeted by other documents. The name given
must begin with an Alphanumeric character
NORESIZE : Disables the frames resizing capability.
SCROLLING : Controls the appearance of horizontal and vertical scrollbars in a frame. This takes the
values YES/NO /AUTO.
Example
• <HTML>
• <HEAD>
• <TITLE>A simple frameset document</TITLE>
• </HEAD>
• <FRAMESET COLS="50%,50%">
• <FRAME SRC="D:OfficialHTMLsample filesEx1.html">
• <FRAME SRC="D:OfficialHTMLsample filesEx2.html">
• </FRAMESET>
• </HTML>
Output
Example
• <HTML>
• <HEAD>
• <TITLE>A simple frameset document</TITLE>
• </HEAD>
• <FRAMESET ROWS="30%, *">
• <FRAME SRC="D:OfficialHTMLsample filesEx1.html">
• <FRAME SRC="D:OfficialHTMLsample filesEx2.html">
• </FRAMESET>
• </HTML>
Output
Nested Frameset
• Nesting framesets involves including one frameset within another, which can
provide more flexibility in designing complex layouts.
• It can achieve more complex layouts by using nested tags.
• Any frame within a frameset can contain another frameset.
• For example, shows a layout of two columns, the first with two rows and the
second with three rows.
• This is created by nesting two tags with row specifications within a top-level that
specifies the columns:
Example
• <frameset cols="50%, 50%">
<frameset rows="50%, *">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>
<frameset rows=“33%, 33%,*">
<frame src="frame3.html">
<frame src="frame4.html">
<frame src="frame5.html">
</frameset>
</frameset>
Output
Thank You

More Related Content

Similar to Frames.pptx Frames (using the <frame> tag) are used to divide a web browser window into multiple sections, each capable of loading a separate HTML document. (20)

DOCX
Html frames
Abhishek Kesharwani
 
PDF
HTML-Part2
Ahmed Saihood
 
PDF
2b. Web Technology HTML Basics-2
Jyoti Yadav
 
PPTX
Final_Frames.pptx
SajalZawar
 
PPT
Frames.ppt
anshchaudhary9988
 
PPTX
HTML Frameset & Inline Frame
Nisa Soomro
 
PDF
Html frames
eShikshak
 
PPTX
DEFINE FRAME AND FRAME SET WITH EXAMPLE
patelpriyank01
 
PPT
Html5
Rujata Patil
 
PDF
02html Frames
Adil Jafri
 
PDF
Html Frames
Adil Jafri
 
PDF
Ls-No-1 Web Publishing Notes.pdf 12th information technology chapter 1
AAFREEN SHAIKH
 
DOC
Handout6 html frames
Nadine Guevarra
 
PPTX
Frames eng
Ac Rte
 
PPTX
Html Frames
Xainab Ishfaq
 
PPTX
Frames and its components
Deepam Aggarwal
 
PDF
02 html-frames
Kapil Chawla
 
PPTX
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
Vaibhav Sinha
 
PDF
Unit 2.10 - Frames
Intan Jameel
 
Html frames
Abhishek Kesharwani
 
HTML-Part2
Ahmed Saihood
 
2b. Web Technology HTML Basics-2
Jyoti Yadav
 
Final_Frames.pptx
SajalZawar
 
Frames.ppt
anshchaudhary9988
 
HTML Frameset & Inline Frame
Nisa Soomro
 
Html frames
eShikshak
 
DEFINE FRAME AND FRAME SET WITH EXAMPLE
patelpriyank01
 
02html Frames
Adil Jafri
 
Html Frames
Adil Jafri
 
Ls-No-1 Web Publishing Notes.pdf 12th information technology chapter 1
AAFREEN SHAIKH
 
Handout6 html frames
Nadine Guevarra
 
Frames eng
Ac Rte
 
Html Frames
Xainab Ishfaq
 
Frames and its components
Deepam Aggarwal
 
02 html-frames
Kapil Chawla
 
DEFINE FRAME AND FRAME SET WITH A EXAMPLE
Vaibhav Sinha
 
Unit 2.10 - Frames
Intan Jameel
 

Recently uploaded (20)

PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Ad

Frames.pptx Frames (using the <frame> tag) are used to divide a web browser window into multiple sections, each capable of loading a separate HTML document.

  • 1. Mr. A. Selva Kumar, MCA., M.Phil., Assistant Professor Department of Computer Applications Ayya Nadar Janaki Ammal College Sivakasi
  • 3. Introduction to Frames • The HTML tags that divide a browser screen into two or more HTML recognizable unique regions is the <FRAMESET>…</FRAMESET> tags. • Each unique region is called a frame. • Each frame can be loaded with a different document and hence, allow multiple HTML documents to be seen concurrently.
  • 4. The<FRAMESET>tag • The splitting of a browser screen into frames is accomplished with the <FRAMESET> …</FRAMESET> tags embedded into the HTML document. • The <FRAMESET>…</FRAMESET> tags require one of the following two attribute depending on whether the screen has to be divided into rows or columns.
  • 5. ROWS : This attribute is used to divide the screen into multiple rows. It can be set equal to a list of values, depending on the required size of each row. The values can be:  A number of pixels  Expressed as a percentage of the screen resolution • The symbol *, which indicates the remaining space. COLS : This attribute is used to divide the screen into multiple columns. It can be set equal to a list of values, depending on the required size of each column. The values can be:  A number of pixels  Expressed as a percentage of the screen resolution  The symbol *, which indicates the remaining space.
  • 6. Example <FRAMESET ROWS=”33%, 33%, 33 %”> --Divides the browser screen into 3 equal horizontal sections <FRAMESET COLS=”50%,50%”> --Splits the 1st Horizontal section into 2 equal Vertical Sections <FRAMESET> <FRAMESET COLS=”50%,50%”> -- Splits the 2nd Horizontal section into 2 equal Vertical Sections </FRAMESET> </FRAMESET>
  • 7. The <FRAME> tag • Once the browser screen is divided into rows (Horizontal Sections) and columns (Vertical Sections), each unique section defined can be loaded with different HTML documents. • This is achieved by using <FRAME> tag, which takes in the following attributes.
  • 8. SRC=”url” : Indicates the URL of the documents to be loaded into the frame. MARGINHEIGHT=”n” : Specifies the amount of white space to be left at the top and bottom of the frame. MARGINWIDTH=”n” : Specifies the amount of white space to be left along the sides of the frame. NAME=”name” : Gives the frame a unique name so it can be targeted by other documents. The name given must begin with an Alphanumeric character NORESIZE : Disables the frames resizing capability. SCROLLING : Controls the appearance of horizontal and vertical scrollbars in a frame. This takes the values YES/NO /AUTO.
  • 9. Example • <HTML> • <HEAD> • <TITLE>A simple frameset document</TITLE> • </HEAD> • <FRAMESET COLS="50%,50%"> • <FRAME SRC="D:OfficialHTMLsample filesEx1.html"> • <FRAME SRC="D:OfficialHTMLsample filesEx2.html"> • </FRAMESET> • </HTML>
  • 11. Example • <HTML> • <HEAD> • <TITLE>A simple frameset document</TITLE> • </HEAD> • <FRAMESET ROWS="30%, *"> • <FRAME SRC="D:OfficialHTMLsample filesEx1.html"> • <FRAME SRC="D:OfficialHTMLsample filesEx2.html"> • </FRAMESET> • </HTML>
  • 13. Nested Frameset • Nesting framesets involves including one frameset within another, which can provide more flexibility in designing complex layouts. • It can achieve more complex layouts by using nested tags. • Any frame within a frameset can contain another frameset. • For example, shows a layout of two columns, the first with two rows and the second with three rows. • This is created by nesting two tags with row specifications within a top-level that specifies the columns:
  • 14. Example • <frameset cols="50%, 50%"> <frameset rows="50%, *"> <frame src="frame1.html"> <frame src="frame2.html"> </frameset> <frameset rows=“33%, 33%,*"> <frame src="frame3.html"> <frame src="frame4.html"> <frame src="frame5.html"> </frameset> </frameset>