Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report