Current Assignment(s)
Due: Recommended by Monday, 5.21
Document Type
Everything is HTML is described through elements. This includes the larger structure of the main document.
In this sub-topic, we’ll build the basic structure of a single page, going step-by-step through the standard page elements. It is worthwhile to note that, usually, there is only one set of each of these elements per page, beginning with a <!DOCTYPE>
declaration. We can even compare these elements to your own very structure.
<!DOCTYPE>
The document type element is the first element in an HTML document, and should be placed on the first line in a document. This element tells the browser’s processor what type of HTML document it is.
The <!DOCTYPE>
declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.
<!DOCTYPE html>
- Previous
- Next