X Nested rules under HTML Strict _ Experience Exchange

Source: Internet
Author: User
Tags cdata
The Translator notes: Time is not hurried to study carefully, I hope we can discuss and improve the explanatory part (now the explanation is not very comprehensive).

Here is a tag nesting rule that must be followed in HTML 4 Strict and XHTML 1.0 Strict, such as you can't embed one of these conventions inside.

Description

* In order to facilitate reading, the tags in this article use uppercase (according to XHTML rules, element names must be lowercase, such asand should not be)
* Lowercase words indicate a group or series of HTML tags
* Each entry (label) follows a list of labels, which, if not, indicates that the item (tag) is not allowed to contain any tags inside. This means that the entry can contain only plain text content (#PCDATA, see below). If stated (empty), this means that the entry is not allowed to contain any form of content inside.
* #PCDATA means "parsed character data", which is plain text content (excluding any HTML tags, but escaped content can exist, such as in and out)
* CDATA means "character data", which means that the plain text content of the escaped content is not included, and the details can refer to CDATA confusion
* Excluding ... The inclusion of the listed elements directly or indirectly is not intended



screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt= ' Click View full image in new window \nctrl+ mouse wheel zoom in or zoom out ';} "border =0>

Note 1. The above content is based on the Strict DTD [HTML 4.01 specification].

Note 2. For XHTML 1.0, basically consistent, different points are as follows:

* FOR
Related Article

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.