XHTML tags are keywords surrounded by angle brackets and often appear in pairs. For example, <html></html>, this tag indicates that this is an hmtl (xhtml) document. The first tag in the tag pair is the start tag, and the second tag is the end tag.
There are also a small number of labels that are not paired or have no end tags, such as line break tags.
Close of XHTML tags
In the XHTML specification, all tags must be closed. Usually paired labels are used to close the label, non-paired labels are used to close the labels, such as <br />.
Although the browser can recognize tags that are not closed, it is necessary to close tags in the specification and in the long run.
Commonly used XHTML tags<html></html> tags
The tag indicates that this is an hmtl (xhtml) document. Except for the XHTML file type declaration, all other XHTML tag elements must be embedded in the tag. XML/HTML Code Copy content to clipboard