How to add a set of frames in HTML?

PHPz
Release: 2023-09-06 17:37:05
forward
1513 people have browsed it

How to add a set of frames in HTML?

Use the

tag to add a set of frames. The HTML 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−

Attributes

Value

Description

Cols

Column Size

Specify the number of columns and their width, you can use pixels, percentages or relative lengths. Default is 100%

Rows

Row size

specified Number of rows and their height, in pixels, percentage, or relative length. The default is 100%.

Example

You can try running the following code to add a set of frames using the

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>
Copy after login

The above is the detailed content of How to add a set of frames in HTML?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!