Section Flashcards

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

What is the purpose of the <head> section in a webpage?

A

Provides context and instructions for the webpage

The <head> section contains metadata that informs browsers and services about the document.

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

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

A

The title that appears in the browser tab or window title bar

The <title> tag is also important for SEO (Search Engine Optimization).</title>

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

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

A

The character encoding for the document

UTF-8 is widely used and can handle almost all characters and symbols.

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

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

A

Links external files to the HTML document

Commonly used to link to CSS files that control the visual presentation of the webpage.

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

True or False: The information in the <head> section is directly visible on the rendered page.

A

False

Content in the <head> section is not directly visible but is crucial for webpage functionality.

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

Fill in the blank: The <link></link> tag sets up a connection to a separate file that will _______.

A

[style the visible content in the <body>]

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

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

A

The <body> is where all the magic happens in terms of what you actually see on a webpage.

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

What types of content go inside the <body> tags?

A
  • Text (paragraphs, headings, lists, etc.)
  • Images and videos
  • Links to other pages
  • Forms for user input
  • And much more!
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does the <head> tag differ from the <body> tag?

A

The <head> sets up the stage and provides backstage information, while the <body> is where the actual performance takes place.

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

What does the <body> tag contain?

A

The main container for all the visible content that makes up your website.

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

Fill in the blank: The <body> section of a webpage is where you display _____ and paragraphs.

A

[headings]

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

What does the browser do with the tags inside the <body>?

A

The browser reads these tags and knows how to display the content.

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

True or False: The <body> tag can contain forms for user input.

A

True

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

Provide an example of how to display a heading and a paragraph in the <body> section.

A

<body>
<h1>Welcome!</h1>
<p>This is my first webpage.</p>
</body>

17
Q

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

A

The <body> is where all the magic happens in terms of what you actually see on a webpage.

18
Q

What types of content go inside the <body> tags?

A
  • Text (paragraphs, headings, lists, etc.)
  • Images and videos
  • Links to other pages
  • Forms for user input
  • And much more!
19
Q

How does the <head> tag differ from the <body> tag?

A

The <head> sets up the stage and provides backstage information, while the <body> is where the actual performance takes place.

20
Q

What does the <body> tag contain?

A

The main container for all the visible content that makes up your website.

21
Q

Fill in the blank: The <body> section of a webpage is where you display _____ and paragraphs.

A

[headings]

22
Q

What does the browser do with the tags inside the <body>?

A

The browser reads these tags and knows how to display the content.

23
Q

True or False: The <body> tag can contain forms for user input.

24
Q

Provide an example of how to display a heading and a paragraph in the <body> section.

A

<body>
<h1>Welcome!</h1>
<p>This is my first webpage.</p>
</body>