HTML Flashcards

1
Q

How does a comment in HTML start and end?

A

<!-- -->

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

anchor element

A

<a></a>

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

What does an anchor element do?

A

Link to another page

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

Add the anchor text ‘link to another page’ to the anchor element. This will become the link’s text.

A

<a>link to another page</a>

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

What are block-line level elements?

A

Elements that appear on a new line

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

What is the function of the fieldset element?

A

Fieldset elements are used to group related inputs and labels together in a web form.

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

What does the action attribute indicate?

A

The action attribute indicates where form data should be sent.

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

What is the function of label elements?

A

Label elements are used to help associate the text for an input element with the input element itself.

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

What is the function of legend elements?

A

The legend element acts as a caption for the content in the fieldset element. It gives users context about what they should enter into that part of the form

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

<ul> stands for?
</ul>

A

unordered list

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

<li> stands for?
</li>

A

list

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

What is the basic structure to start building your webpage?

A

<!DOCTYPE html>

<html>
</html>

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