Block Level Elements Flashcards

1
Q

Describe the presentation of a block level element.

A

A block level element has a new line before and after the element.

They can only appear in a “<body></body>” element

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

How is block vs inline presentation handled in CSS?

A

In CSS the presentation can be specified with “Flow Layout”.

Or with the display property.
p { display: block; }

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

“<address></address>”

A

A block level element that is designated for contact information of a person, group, or organization.

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

“<article></article>”

A

A block level element that is designated for a self-contained composition that is intended to be distributable or reusable.

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

“<aside></aside>”

A

A block level element that is designated for content that is indirectly related to the document’s main content.

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

“<blockquote></blockquote>”

A

A block level element that is designated for an extended, visually popping, quotation.

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

“<details></details>”

A

A block level element that is designated for a toggled “disclosure” widget. The details element must be encapsulated in a summary or label. “<summary></summary>”

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

“<dl>
“<dt></dt>”
“<dd></dd>”
</dl>”

A

Block level elements that is designated for descriptive list. “dt” is used for the term and “dd” is the description of the term.

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

“<div></div>”

A

A block level element that is designated for grouping elements or contents together to be styled or contained. A “division” of the document.

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

“<figure>
“<figcaption></figcaption>”
</figure>”

A

A block level element that is designated for a single unit of content with an optional caption.

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

“<footer></footer>”

A

A block level element that is designated for sectioned content that represents information about its nearest ancestor element. Typically author information, copyright information, or related links.

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

“<header></header>”

A

A block level element that is designated for introductory content or navigational assistance.

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

“<h1></h1>“… “<h6></h6>”

A

A block level element that is designated for a heading.

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

“<hgroup></hgroup>”

A

A block level element that is designated for containing a heading element with associated elements.

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

“<hr>”

A

A block level element that is designated for a thematic break between document content. Visually a horizontal line.

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

“<main></main>”

A

A block level element that is designated for the dominant content of the document. The central topic or functionality of the document.

17
Q

“<nav></nav>”

A

A block level element that is designated for navigation links.

18
Q

“<p></p>”

A

A block level element that is designated for a single paragraph in the document.

19
Q

“<pre></pre>”

A

A block level element that is designated for “pre-formatted” content that needs to maintain the spacing and other writing information exactly as it is written in the file.

20
Q

“<section></section>”

A

A block level element that is designated for a standalone section of the document. Sections should always have a heading and a paragraph within them.

21
Q

“<ul>
“<li><li>”
</ul>”

A

A block level element that is designated for unordered lists.

22
Q

“<ol>
“<li></li>”
</ol>”

A

A block level element that is designated for ordered lists.

23
Q

“<form></form>”

A

A block level element that is designated for interactive controls for submitting information.

24
Q

“<fieldset></fieldset>”

A

A block level element that is designated for grouping controls within a form element.

25
Q

“<table></table>”

A

A block level element that is designated for representing tabular data.