Html Flashcards

(7 cards)

1
Q

What should be added after a file name to indicate it’s an HTML file?

A

.Html

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

What is the basic structure of an HTML document?

A

The basic structure includes:
* <!DOCTYPE html>
* <html>
* <head>
* <title>Page Title</title>
* <body>
* <!-- Content goes here -->
* </body>
* </html>

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

Fill in the blank: The file declaration for an HTML document starts with _______.

A

<!DOCTYPE html>

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

True or False: The <head> section of an HTML document is where the content is displayed.

A

False

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

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

A

To define the title of the webpage that appears in the browser tab.

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

What is indicated by the <body> tag in an HTML document?

A

It contains the content that is displayed on the webpage.

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

What does the comment <!-- Content goes here --> signify in HTML?

A

It indicates a placeholder for where content should be placed.

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