June 2025
Beginner
817 pages
31h 30m
English
The basic framework of an HTML document roughly consists of three parts, as you can see in Figure 2.9:
1 |
The HTML document type specifies the HTML version used. |
2 |
The header area usually contains the nondisplayable information about the document. |
3 |
The document body contains the displayable content for the web browser. |
Figure 2.9 The Subdivision of an HTML Document
The <!doctype> declaration must be the first specification in an HTML document, before the <html> tag. The <!doctype> isn’t an HTML tag, but an instruction for the web browser about the HTML ...
Read now
Unlock full access