css html java chapter thing Flashcards

(34 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 includes <html>, <head>, and ______.

A

<body>
</body>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
Q

What attribute is used to specify the destination of a hyperlink?

A

href

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

Which HTML tag is used for inserting an image?

A

<img></img>

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

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

A

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

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

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
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
10
Q

What is the purpose of the <head> section in an HTML document?

A

To contain meta-information, links to stylesheets, and scripts.

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

Which HTML tag is used to define a table?

A

<table>
</table>

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

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

A

To create an interactive form for user input.

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

Fill in the blank: The <input></input> tag can have different types such as text, password, and ______.

A

checkbox

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

Which tag is used to create a line break in HTML?

A

<br></br>

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

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

A

True

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

What is the purpose of the alt attribute in the <img></img> tag?

A

To provide alternative text for the image if it cannot be displayed.

17
Q

Which HTML tag is used for a numbered list?

18
Q

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

A

Provides metadata about the HTML document, such as character set and description.

19
Q

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

A

To link external resources like stylesheets.

20
Q

True or False: The <header> tag is used to define a footer in an HTML document.

21
Q

What is the purpose of the <footer> tag?

A

To define a footer for a document or section.

22
Q

Which attribute is used with the <a> tag to open the link in a new tab?</a>

A

target=’_blank’

23
Q

Fill in the blank: The <strong> tag is used to indicate ______ text.</strong>

24
Q

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

25
Which tag is used to define a section in a document?
26
What does the