Enter HTML5 entry to proficient:<noframes> label

Source: Internet
Author: User
Keywords tags HTML5 Getting started to master

"Reprint please retain the integrity of the content of the Wind network article, if you do not comply with this principle, we will retain the right to pursue legal responsibility"

<noframes> Label

Definitions and usage

The <noframes> tab displays prompt text to the browser that cannot process the frame. The noframes element is located in the FRAMESET element.

<noframes> tags are not supported in HTML 5 because of the negative impact of the label on Web usability.

Differences between HTML 4.01 and HTML 5

<noscript> tags in HTML 5

Definitions and usage

The NoScript element is used to define alternative content (text) when the script is not executed.

This label is used for browsers that recognize <script> label but cannot support scripts in it.

Differences between HTML 4.01 and HTML 5

No.

Tips and comments

Wind Network (WWW.ITHOV.OM) Note: If the browser supports scripting, it does not display the text in the NoScript element.

Wind Network (WWW.ITHOV.OM) Note: Browsers that do not recognize <script> tags will display the contents of the label on the page. To prevent the browser from doing so, you should hide the script in the comment label. Older (unrecognized <script> tagged) browsers ignore annotations, so they don't write the contents of the tags on the page, and newer browsers know how to execute them, even if they are surrounded in the comment tags!

Example

JavaScript
<body>
...
...
<script type= "Text/javascript" >
<!--
document.write ("http://www.aliyun.com/zixun/aggregation/1568.html" >hello world!)
-->
</script>
<noscript>your Browser does not support javascript!</noscript>
...
...
</body>
VBScript
<body>
...
...
<script type= "Text/vbscript" >
<!--
document.write ("Hello world!")
'-->
</script>
<noscript>your Browser does not support vbscript!</noscript>
...
...
</body>

Tiy instance

Run in browsers that do not support scripting

This example shows how to deal with browsers that do not support scripting.

<noframes> label not supported.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.