12. Creating Our First Website
Chapter 12: Creating Our First Website - Quiz
Fill in the Blanks
1. The <body> tag contains the __________ of the webpage.
Answer: content
2. The <head> section includes elements like __________ and __________.
Answer: meta tags and stylesheets
3. Every HTML document starts with the __________ declaration.
Answer: <!DOCTYPE html>
4. The <title> tag helps display the __________ of the webpage in the browser tab.
Answer: title of the webpage
5. The basic structure of an HTML document is defined using __________ tags.
Answer: HTML tags
Match the Following
| Question | Answer |
|---|---|
| <h1> tag | Defines the largest heading |
| <p> tag | Creates a paragraph |
| <html> tag | Defines the overall HTML page |
| <link> tag | Links external stylesheets |
| <meta> tag | Provides metadata about the page |
True or False
1. The <head> section appears visibly on the webpage.
Answer: False
2. Every HTML document must have a <body> section.
Answer: True
3. The <title> tag is used to add a heading inside the webpage content.
Answer: False
4. The <html> tag is the root element of an HTML document.
Answer: True
5. HTML allows linking external CSS files using the <link> tag.
Answer: True
Answer in One Sentence
1. What is the function of the <body> tag?
Answer: It contains the main content of the webpage.
2. What is the purpose of the <meta> tag?
Answer: It provides metadata like character set and viewport settings.
3. What does the <h1> tag do?
Answer: It defines the largest heading in an HTML document.
4. Why do we use the <link> tag?
Answer: It is used to link external CSS stylesheets.
5. What is the importance of the <title> tag?
Answer: It sets the webpage title shown in the browser tab.
Comments
Post a Comment