HTML Flashcards

(27 cards)

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

True or False: HTML is a programming language.

A

False

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

What is the purpose of the <head> tag in HTML?

A

To contain meta-information about the document, such as title and links to stylesheets.

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

Fill in the blank: The root element of an HTML document is the ____ tag.

A

<html>
</html>

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

Which tag is used to create a hyperlink?

A

<a></a>

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

What is the function of the <title> tag?</title>

A

To define the title of the document that appears in the browser’s title bar or tab.

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

Multiple choice: Which of the following is NOT a valid HTML tag? A) <div> B) <span> C) <text></text></span>

A

<text>
</text>

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

What tag is used to insert an image in HTML?

A

<img></img>

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

True or False: The <body> tag contains the content that is visible to users.

A

True

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

What attribute is used to specify the destination of a link in an <a> tag?</a>

A

href

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

Which tag is used to create an unordered list?

A

<ul>
</ul>

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

Fill in the blank: The <____> tag is used to define a section in a document.

A

section

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

What does the <br></br> tag do?

A

Inserts a line break.

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

Multiple choice: Which tag is used for the largest heading? A) <h1> B) <h6> C) <heading></heading>

A

<h1>
</h1>

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

What tag would you use to create a form?

A

<form>
</form>

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

True or False: The <meta></meta> tag can be used to define character set, keywords, and author information.

17
Q

What is the purpose of the <footer> tag?

A

To define a footer for a document or section.

18
Q

Fill in the blank: The <____> tag is used to create a table.

19
Q

Which attribute would you use to specify an alternative text for an image?

20
Q

What tag is used for a block of code?

21
Q

True or False: HTML tags are case-sensitive.

22
Q

What is the purpose of the <link></link> tag?

A

To link external resources like stylesheets.

23
Q

Multiple choice: Which tag is used for an ordered list? A) <ol> B) <list> C) <order></order></list>

24
Q

What tag is used to define a navigation section?

25
Fill in the blank: The <____> tag is used to define an input field in a form.
input
26
True or False: The