4.3 HTML Entities Flashcards

(10 cards)

1
Q

What are HTML entities?

A

Special codes used to display reserved or non-keyboard characters.

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

How do you display the < character in HTML?

A

Use <.

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

How do you display the > character in HTML?

A

Use >.

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

How do you display the & character in HTML?

A

Use &.

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

How do you display double quotes (“) in HTML?

A

Use ".

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

How do you display a single quote (‘) in HTML?

A

Use '.

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

How do you display the copyright symbol?

A

Use ©.

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

How do you display registered trademark symbol?

A

Use ®.

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

How do you display non-breaking space?

A

Use , which prevents line breaks between words.

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

Why are HTML entities useful?

A

They allow you to show special characters that would otherwise be prased as code.

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