html-skeleton Flashcards
Where do you put non-visible content about the HTML document?
Non-visible content (metadata) should go in the head element which resides in the html element and precedes the body element.
Where do you put visible content about the HTML document?
The visible content in an HTML document belongs in the body element which is a child of the html element and proceeds the head element.
Where do the head and body tags go in a valid HTML document?
The head and body tags in a valid HTML document belong as children of the html element with the head preceding the body.
What is the purpose of a DOCTYPE declaration?
The DOCTYPE declaration tells the browser what type of content the page should load. Typically followed by HTML for web development.