HTML Flashcards

1
Q

Bold the text AND/OR semantically show strong words
3 ways
What’s the difference?

A
&lstrong> &l/strong>
&lb> &l/b>
b is just bold
Strong also has semantic meaning mostly for screen readers
It's not always thickened.

fontWeight=”bold”

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

Italicize the text AND/OR semantically show emphasis
3 ways
What’s the difference?

A
&li> &l/i>
&lem> &l/em>
i is just italicize
emphasis also has semantic meaning mostly for screen readers
It's not always italicized.
But best to use CSS
fontStyle="italic"
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Highlight text

A

&lmark> &l/mark>

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

Smaller Text

A

&lsmall> &l/small>

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

Line through text AND/OR semantically show deleted text
3 ways
What’s the difference?

A

&del> &l/del>
&ls> &l/s>

h2 {
text-decoration: line-through;
}

&lsdel> has semantic meaning as deleted text
It’s not always crossed.

Internet comment says to use CSS line through

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

Underline AND/OR show inserted text
3 ways
what’s the difference?

A

&lu> &l/u>
&lins> &l/ins>
textDecoration=”​underline”

ins has semantic meaning as inserted text
It’s not always underlined.

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

Subscript text

A

&lsub> &l/sub>

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

SuperScript text

A

&lsup> &l/sup>

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