
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Add a Set of Frames in HTML
Use the <frameset> tag to add a set of frames. The HTML <frameset> tag is used to divide the window into frames.
Note − This tag is not supported in HTML5. Do not use.
The following are the attributes −
Attribute |
Value |
Description |
---|---|---|
Cols |
column size |
Specifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100% |
Rows |
row size |
Specifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%. |
Example
You can try to run the following code to add a set of frames using the <frameset> tag −
<!DOCTYPE html> <html> <head> <title>HTML frameset Tag</title> </head> <frameset cols = "300, *"> <frame src = "/html/menu.htm" name = "menu_page" /> <frame src = "/html/main.htm" name = "main_page" /> <noframes> <body> Your browser does not support frames. </body> </noframes> </frameset> </html>
Advertisements