ad

Monday, October 13, 2025

frameset tag in html with example

frameset tag in html with example

https://webdesigningtheory.blogspot.com

It is used to specify the amount of spacing between the frames in a Frameset

 This can take value  integer  as parameter  which basically denotes  the value in pix 

frameset tag in html with example

 Example 

<!Doctype html>
<html>

<frameset rows="1,2" cols="1,2">

<frame src="frame_1.html">

 <frame src="frame_2.html">

 <frame src="frame_3.html">

<frame src="frame_4.html">

 </frameset>
</html>


frameset tag in html with example

 Explain Program

Step 1 ]

<!Doctype html>

  • <!doctype html>  always be the first line of any HTML document.

Step 2 ]

   <html> and </html>

   html  is the root element.

Step 3 ]

<body> and </body>

body  is  main content area.

All visible content inside to  the <body> tag

Step 4]

<frameset rows="1,2" cols="1,2">


 frames layout 

row= 1,2  :- frame layout two horizontal row.

cols=1,2 :- layout two vertical columns.


Step 5]

<frame src="frame_1.html">


frame  grid 
frame_1.html loads into first frame
frame_2.html into second and so on.

Step 5]

</frameset>


Close the </frameset> & html document.


frameset tag in html with example

  Output 


how to  create html frameset Tag


Related Post :-

Html Radio Buttons Example
Html Ordered List
CSS Table Alignment


No comments:

Post a Comment