HTML Frameset Tag - Tutorial Republic
Có thể bạn quan tâm
Topic: HTML5 Tags ReferencePrev|Next
Description
The <frameset> tag defines a collection of frames or other framesets.
The following table summarizes the usages context and the version history of this tag.
Placement: | Block |
---|---|
Content: | <frameset>, <frame>, <noframes> |
Start/End Tag: | Start tag: required, End tag: required |
Version: | HTML 4 and 4.01 (frameset) |
Warning: Do not use this tag since it is a non-standard tag. This tag has been removed in HTML5 and shouldn't be used anymore. Use HTML <iframe>, instead.
Syntax
The basic syntax of the <frameset> tag is given with:
HTML / XHTML: <frameset cols="[ number | percentage | * ] ,..." rows="[ number | percentage | * ] ,..."> ... </frameset>The example below shows the <frameset> tag in action.
Example
Try this code » <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title>This is a frameset document.</title> </head> <frameset> <frame src="sample-a.html" name="frame-a"> <frame src="sample-b.html" name="frame-b"> </frameset> </html>Tag-Specific Attributes
The following table shows the attributes that are specific to the <frameset> tag.
Attribute | Value | Description |
---|---|---|
cols | pixels%* | Specifies the layout of horizontal frames. It is a comma-separated list of pixels, percentages, and relative lengths. The default value is 100%, meaning one row. |
rows | pixels%* | Specifies the layout of vertical frames. It is a comma-separated list of pixels, percentages, and relative lengths. The default value is 100%, meaning one column. |
Browser Compatibility
The <frameset> tag is supported in all major modern browsers.
Basic Support—
|
Further Reading
See tutorial on: HTML Iframes.
Related tags: <frame>, <iframe>.
Previous Page Next PageTừ khóa » Html5 Tag Frameset
-
HTML - Frames - Tutorialspoint
-
HTML Frameset Tag - W3Schools
-
HTML Frames Are Obsolete In HTML5: Here's How To Make Them ...
-
-
HTML Frameset Tag - GeeksforGeeks
-
Frames In HTML Documents - W3C
-
HTML 5 Frameset Tag - W3Schools
-
HTML Frameset Tag - Javatpoint
-
HTML
-
Frameset HTML - W3schools.blog
-
HTML
-
HTML 4.01 And XHTML 1.0 Reference:
-
Learn About HTML Frameset Tag - BitDegree
-
HTML Frameset Tag | List Of Attributes Of Frameset Tag In HTML