html-skeleton Flashcards
Where do you put non-visible content about the HTML Document?
Non visible content is stored in the head element. This is where all metadata is entered (author of the document, keywords, page description, viewport settings, character sets, etc).
Where do you put visible content about the HTML Element?
All visible content is stored in the body element. Anything you can see on a webpage is stored in the body element.
Where do the head and body tags go in an HTML element?
Both head and body are nested within the html tag.
What is the purpose of the DOCTYPE declaration?
The purpose of the declaration is to specify to the browser which version of HTML is being used. This ensures that the browser parses through information correctly. Without it, the browser is forced to render in Quirks mode (a non compliant form of rendering).