HTML Tag
# definition and usage (Recommended learning: html tutorial )
& lt; frame & gt (frame).
Each frame in the frameset can set different properties, such as border, scrolling, noresize, etc.
Differences between HTML and XHTML
In HTML, the tag does not have a closing tag.
In XHTML, the tag must be closed properly.
Tip:
Note: If you wish to validate pages containing frames, make sure the doctype is set to "Frameset DTD". Read more about DOCTYPE.
Important: You cannot use the
tag with the tag. However, if you need to add aExample
Simple three-frame page:
<html> <frameset cols="25%,50%,25%"> <frame src="/example/html/frame_a.html"> <frame src="/example/html/frame_b.html"> <frame src="/example/html/frame_c.html"> </frameset> </html>
The above is the detailed content of HTML tag. For more information, please follow other related articles on the PHP Chinese website!