IT-1 Flashcards

(37 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> element in an HTML document?

A

To contain meta-information about the document, such as the 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 main content of an HTML document is typically contained within the ______ element.

A

<body>
</body>

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

What is the correct HTML element for inserting a line break?

A

<br></br>

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

Which HTML element is used for creating hyperlinks?

A

<a></a>

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

What attribute is used with the <a> tag to specify the destination URL?</a>

A

href

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

True or False: The <div> element is a block-level element.

A

True

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

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

A

To provide metadata about the HTML document, such as character set and viewport settings.

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

What does the <title> element define?</title>

A

The title of the HTML document, shown in the browser’s title bar or tab.

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

Which HTML element is used to define an unordered list?

A

<ul>
</ul>

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

What tag is used to create a table in HTML?

A

<table>
</table>

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

Fill in the blank: The ______ element is used to define a caption for a table.

A

<caption>
</caption>

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

True or False: The <span> element is an inline element.</span>

A

True

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

What is the purpose of the <form> element?

A

To collect user input.

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

Which attribute is commonly used with the <form> element to specify the method of sending data?

17
Q

What does the <input></input> element do?

A

It creates various types of user input fields in a form.

18
Q

What is the default type of the <input></input> element if the type attribute is not specified?

19
Q

Which HTML element is used to define a footer for a document or section?

A

<footer>
</footer>

20
Q

What is the purpose of the <header> element?

A

To define introductory content or navigational links.

21
Q

What does the <section> element represent?

A

A thematic grouping of content, typically with a heading.

22
Q

Fill in the blank: The ______ element is used to define a navigation section in an HTML document.

23
Q

What is the purpose of the <article> element?

A

To represent a self-contained piece of content that could be distributed independently.

24
Q

True or False: The <canvas> element is used for drawing graphics on the fly via scripting.</canvas>

25
What does the