Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the & lt;frame> tag in HTML

Shulou Source: shulou.com Published: 2022-06-01 06:28:38 11月16日 Update

This article will explain in detail how to use the tags in HTML. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

HTML tag-not supported by HTML5

Example

A simple three-frame page:

Browser support

All major browsers support tags.

Label definition and instructions for use

HTML5 does not support tags.

A child window (frame) in the tag definition.

Each of them can set different properties, such as border, scrolling,noresize, and so on.

Note: if you want to validate the page that contains the frame, make sure it is set to "HTMLFramesetDTD" or "XHTMLFramesetDTD".

The difference between HTML4.01 and HTML5

HTML5 does not support tags, while HTML4.01 supports tags.

The difference between HTML and XHTML

In HTML, the tag does not end the tag. In XHTML, the label must be closed correctly.

Event attribute

According to W3C standards, tags do not support any event attributes in HTML4.01.

However, all browsers support the onload event.

This is the end of this article on "how to use tags in HTML". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Tags support events properties frames browsers articles browsing differences more pages different good practical mainstream instructions content examples articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MariaDB Apple vpn Microsoft