html-skeleton Flashcards

1
Q

Where do you put non-visible content about the HTML Document?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where do you put visible content about the HTML Element?

A

All visible content is stored in the body element. Anything you can see on a webpage is stored in the body element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where do the head and body tags go in an HTML element?

A

Both head and body are nested within the html tag.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the DOCTYPE declaration?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly