HTML-SKELETON Flashcards

1
Q

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

A

Non-visible content within an HTML document is located inside of the < head>

(Note: Additional spaces have been added here and there to abide by the website’s display rules. [Cannot display code without premium version])

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 document?

A

Visible content within an HTML document is located inside of the < body> tag.

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 a valid HTML document?

A

The “head” and “body” tags go in between the opening and closing “HTML” tags, with the body tags under the head.

EX:
< !DOCTYPE >< html>
  < head>
    < title>Pokemon!< /title>
  < /head>
  < body>
  < /body>< /html>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of a a < !DOCTYPE > declaration?

A

The DOCTYPE declaration is an instruction to the web browser about what version of HTML the page is written in. This ensures that the web page is parsed the same way by different web browsers.

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