AI 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

Fill in the blank: The basic structure of an HTML document starts with the ______ tag.

A

<!DOCTYPE html>

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

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

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
5
Q

Which 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 with the <img></img> tag to specify the image source?

A

src

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

Multiple Choice: Which of the following is a valid HTML5 doctype? A) <!DOCTYPE html5> B) <!DOCTYPE HTML PUBLIC> C) <!DOCTYPE html>

A

<!DOCTYPE html>

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

What does the <title> tag define in an HTML document?</title>

A

The title of the document that appears in the browser tab.

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

True or False: HTML tags are case sensitive.

A

False

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

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

A

To define the main content of the HTML document that is visible to users.

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

Fill in the blank: The <ul> tag is used to create an ______ list.

A

unordered

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

Which 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

What attribute is commonly used to provide alternative text for images?

A

alt

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

Multiple Choice: Which of the following tags is used for creating a line break? A) <break> B) <br></br> C) <lb></lb></break>

A

<br></br>

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

What HTML tag is used to define the largest heading?

A

<h1>
</h1>

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

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

17
Q

What is the purpose of the <meta></meta> tag in HTML?

A

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

18
Q

Fill in the blank: The <form> tag is used to collect ______ from users.

19
Q

What attribute is used to specify a unique identifier for an HTML element?

20
Q

Multiple Choice: Which of the following is not a valid HTML element? A) <p> B) <text> C) <span></span></text>

A

<text>
</text>

21
Q

What is the function of the <link></link> tag in the <head> section?

A

To link external resources, such as stylesheets, to the HTML document.

22
Q

True or False: You can nest HTML elements inside one another.

23
Q

What does the <footer> tag represent in an HTML document?

A

The footer section that typically contains information about the author, copyright, or links.

24
Q

Fill in the blank: The ______ tag is used to define an inline style in HTML.

A

<style>

</style>
25
What tag is used to create a dropdown list in HTML forms?