HTML Flashcards

1
Q

What does the <div> tag do?

A

<div> tags create a separate block with 1 line before and 1 line after.
</div>

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

What do <hr> tags do?

A

Draw a horizontal line across the page.

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

What do <br></br> tags do?

A

They make line breaks.

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

What do tags do?

A

Specify a unique id for an element.

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

What do tags do?

A

Specify one or more classnames for an element.

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

What do <a> tags do?</a>

A

They create hyperlinks.

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

What do tags do?

A

Specify the styles and CSS used in the webpage.

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

What does the first line on a page in HTML have to be?

A

<!DOCTYPE html>

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

What do tags do?

A

Will not be shown on the page, but tells the computer more information (in this case the character set being used). For example, it can tell a computer to refresh the page, define keywords or to a description.

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