Nested rules under (X)HTML Strict_Experience exchange

WBOY
Release: 2016-05-16 12:09:18
Original
1171 people have browsed it

Translator's note: I was in a hurry and didn't have time to study it in detail. I hope I can discuss and improve the explanation part (the explanation is not very comprehensive now).

The following is a list of tag nesting rules that must be followed under HTML 4 Strict and XHTML 1.0 Strict. For example, you cannot embed another inside .

Note:

* For the convenience of readers, the tags in this article are uppercase (according to the rules of XHTML, element names must be lowercase, such as instead of )
* Lowercase words indicate a group or series of HTML tags
* Each item (tag) is followed by a list of tags. If there is no such list, it means that the item (tag) is not allowed to contain any label. This means that the entry can only contain plain text content inside it (#PCDATA, see below). If (empty) is noted, this means that no content of any kind is allowed inside the entry.
* #PCDATA means "parsed character data", that is, plain text content (does not include any HTML tags, but escaped content can exist, such as ä and ä)
* CDATA means "character data" , which means plain text content excluding escaped content. For details, please refer to CDATA Confusion
* excluding... This means that the listed elements



screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click to view the full image in a new windownCTRL+mouse wheel to zoom in or out';}" border=0>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template