Lesson 2: Structuring an HTML Document Flashcards

(10 cards)

1
Q

What six tags does every HTML page require?

A

doc html, title, meta, head, body, header

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

Why is the <meta></meta> tag important, and where should it be placed in an HTML document?

A

The meta tags signifies to the browser the character set (?) / it should be placed in the <head>

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

What HTML tags and text do you use to produce the following content?

  1. A heading with the words “We are Proud to Present”
  2. A secondary heading with the one word “Orbit”
  3. A heading of lesser importance with the words “The Geometric Juggler”
A
  1. H1
  2. H2
  3. h3-h6
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What code would you use to create a complete HTML web page with the title Foo Bar, a heading at the top that reads “Happy Hour at the Foo Bar”, and then the words “Come on down!” in regular type?

A

<Title> Foo Bar </title>
<h1> Happy Hour at the Foo Bar </h1>
<p> Come on down! <p>
</p></p></Title>

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

Which of the semantic elements discussed in this lesson is appropriate for containing the definition of a word used in an article?

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

What makes an element semantic?

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

Do you have to use an <h1> - <h6> element within a <header> element?

A

No, you just jump to the <h1>
No need for <header> <h1>

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

Where must the contents of the <footer> for the document appear on the page?

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

How many different <nav> elements can you have in a single page?

A

As many as you want

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

What types of things might be enclosed in an <article> element?

A

The <Article> encloses any content that is self-contained and can be reusable
blog, forum post, etc

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