HTML test2 Flashcards

1
Q

Each HTML heading has a default size. However, you can specify the size for any heading with the ____ attribute, using the CSS _________ property:

A

style
font-size

< h1 style=”font-size:60px;”>Heading 1</h1 >

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

The ____ tag defines a thematic break in an HTML page, and is most often displayed as a horizontal rule.

A

< hr >

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

The HTML ____element defines a line break.

A

< br>

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

The HTML _____ element defines preformatted text.

The text inside a ____ element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks:

A

< pre>

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

Use ___________ for background color

A

background-color

< body style=”background-color:powderblue;”>

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

Use _____ for text colors

A

color

< h1 style=”color:blue;”>This is a heading</h1 >

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

Use _________ for text fonts

A

font-family

< h1 style=”font-family:verdana;”>This is a heading< /h1>

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

Use _____ for text sizes

A

font-size

< h1 style=”font-size:300%;”>This is a heading< /h1>

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

Use ________ for text alignment

A

text-align

< h1 style=”text-align:center;”>Centered Heading< /h1>

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

Defines bold text

A

<b></b>

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

Defines emphasized text

A

<em></em>

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

Defines a part of text in an alternate voice or mood

A

<i></i>

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

Defines smaller text

A

<small></small>

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

Defines important text

A

<strong></strong>

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

Defines subscripted text

A

< sub>

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

Defines superscripted text

17
Q

Defines inserted text

A

<ins></ins>

<p>My favorite color is <del>blue</del> <ins>red</ins>.</p>

18
Q

Defines deleted text

A

<del></del>

19
Q

Defines marked/highlighted text

A

<mark></mark>