What's Next
In this chapter, you've learned about the basic structure of an XHTML document. Each document must follow one of three document types, the choice of which is based on the type of content the document will contain.
Every XHTML document must contain at least four out of five elements before any visible content is included. These elements include the doctype declaration, root, head, and title elements. Meta tags are optional, though are contained within the head element when present.
Block-level elements are those that can, at times, contain other block-level elements, and can always contain inline elements and data. Block-level elements tend to make up the larger structures of the document. Inline elements may only contain other inline ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access