HTML General Flashcards

1
Q

Element type that is substituted for other content (does not contain it’s content)

A

Replaced element

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

Element type that contains it’s content (not substituted for other content)

A

Non-replaced element

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

Name for text in a document that is not in a tag (element)

A

Naked or anonymous text. Make the document invalid.

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

Header help the browser create what

A

Document outline. Helps assistive devices as well as search engines

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

Formal name for inline elements

A

Phrasing content

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

What can a paragraph tag contain

A

Phrasing content.

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

Tag/element that contains multiple header tags, but one introduces the topmost into the document outline.

A

hgroup. Intended to support a header and a subheader, with on the header registering into the document outline.

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

What are the three list types?

A

Ordered, unordered, and description list

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

What are the tags that make up a description list?

A

dl, dt, dd: Description List, Description Term, and Description Definition

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

Tag representing the quotation of a large amount of text

A

blockquote

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

What content is allowed in a blockquote?

A

Paragraphs, heading and list are supported and encourages. Blockquote is a sectioning root (so heading won’t muck up the document outline)

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

Tags/elements that are sectioning roots

A

blockquote, figure, details, fieldset , td (a table cell), and body

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

What is a sectioning root?

A

A block tag that masks sectioning tags from the document outline. An H1 can be using in a sectioning root without the document outline being impacted.

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

Tag intended to contain content supporting some point in the main text

A

figure

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

What can a figure tag contain?

A

A figure may contain an image, a video, a code snippet, text, or even a table—pretty much anything that can go in the flow of web content and should be treated and referenced as a self-contained unit.

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

Sectioning tag recommended to wrap an img tag

A

figure

17
Q

What is the tag used to attach a tittle to a figure tag?

A

figcaption

18
Q

What is the HTML tag equivalent to a chapter in a book?

A

section

19
Q

What is the HTML tag used to identify a block of content that is a self contained block of syndicatable material?

A

article

20
Q

How do you determine whether to use a section or article tag?

A

Both can contain the other. If it is self contained (could be embedded in another article) then use article.

21
Q

What tags are sectioning elements in HTML 5?

A

Heading (H1-H6), article, section, nav, aside. The create an element in the document outline, but mask embedded sectioning elements (like a sectioning root). Sectioning elements may not be supported by browsers yet.

22
Q

What tag is used to identify content as tangential or supportive of the main text?

A

aside

Used like a sidebar.

23
Q

What tag used to identify the content in the document, article, etc

A

nav

Identifies the primary navigation.

24
Q

What tag is used to identify introductory content for a document.

A

header

Might contain the heading/hgroup/nav - whatever makes since as a cover page.

25
Q

What tag is used to identify content at the end of a document or sectioning element?

A

footer

If in the body then a foot for the entire document. In in a sectioning element then just a foot for that element.

26
Q

What tag is used to identify contact information for the author?

A

addresses