html Flashcards

html tags use and quizes (26 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 HTML document.

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

Fill in the blank: The <body> tag in HTML is used to define the ______ of the document.

A

content

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

Which HTML 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

Multiple Choice: Which of the following is NOT a valid HTML tag?

A

<link></link>

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

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

A

To embed images in an HTML document.

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

What attribute is used to specify the destination URL of a link?

A

href

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

Fill in the blank: The <title> tag is placed within the \_\_\_\_\_\_ tag.</title>

A

<head>
</head>

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

What does the <form> tag do?

A

It creates an interactive form for user input.

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

Multiple Choice: Which of the following tags is used for creating a list?

A

<ul>, <ol>, <li>
</li></ol></ul>

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

Short Answer: How do you link a CSS file to an HTML document?

A

Using the <link></link> tag with rel=’stylesheet’ in the <head> section.

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

What protocol is commonly used to transfer HTML documents?

A

HTTP (HyperText Transfer Protocol)

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

True or False: HTML5 introduced new semantic elements.

A

True

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

Fill in the blank: The <header> tag is used to define the ______ of a document.

17
Q

Which HTML tag is used to create a table?

A

<table>
</table>

18
Q

What is the purpose of the

 tag?
A

To embed or reference JavaScript code.

19
Q

Multiple Choice: Which of the following is a self-closing tag?

20
Q

Short Answer: How can you embed a JavaScript file in an HTML document?

A

Using the

 tag with the src attribute.
21
Q

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

A

To provide metadata about the HTML document.

22
Q

True or False: The <footer> tag is used for the bottom section of a document.

23
Q

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

24
Q

What does the acronym DOM stand for in web development?

A

Document Object Model

25
Multiple Choice: Which tag is used to define a block of code?
26
Short Answer: How do you link an external JavaScript file in an HTML document?
By using the