HTML Foudnations Revised Flashcards

1
Q

What does HTML stand for?

A

Hypertext Markup Language

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

What is the purpose of HTML?

A

To create the structure of a web page

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

What is the basic unit of an HTML document?

A

Element

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

What tag is used to define the title of an HTML document?

A

<title>
</title>

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

What tag is used to create a hyperlink in HTML?

A

<a></a>

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

What attribute is used to specify an alternate text for an image in HTML?

A

alt

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

What tag is used to define a list item in HTML?

A

<li>
</li>

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

Which tag is used to define the header of a table in HTML?

A

<th>
</th>

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

What is the correct HTML element for the largest heading?

A

<h1>
</h1>

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

What is the correct HTML for adding a background color to a webpage?

A

<body>
</body>

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

What attribute is used to group together the list items in an ordered or unordered list in HTML?

A

type

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

What is the correct HTML for inserting a line break?

A

<br></br>

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

Which tag is used to define a section in an HTML document?

A

<section>
</section>

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

What is the correct HTML for creating a hyperlink that opens in a new tab?

A

<a>link text</a>

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

Which tag is used to define the footer of a document or a section in HTML?

A

<footer>
</footer>

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

What is the correct HTML for adding a background image?

A

<body>
</body>

17
Q

What tag is used to display a horizontal line in HTML?

A

<hr></hr>

18
Q

Which HTML attribute specifies an alternate text for an image if the image cannot be displayed?

A

alt

19
Q

What is the correct HTML for creating a dropdown list?

A

<select><option>Volvo</option></select>

20
Q

What tag is used to define the start and end of an HTML document?

A

<html></html>

21
Q

Which tag is used to define a division or a section in an HTML document?

A

<div>
</div>

22
Q

What is the correct HTML for creating a table?

A

<table></table>

23
Q

What tag is used to define the main content of an HTML document?

A

<main>
</main>

24
Q

Which tag is used to define an input field in an HTML form?

A

<input></input>