WorksheetsHTML Web Design Review
Total questions: 26
Worksheet time: 13mins
Which HTML tag is used to define the most important heading?
<title>
<h6>
<head>
<h1>
What does HTML stand for?
Hyperlinks and Text Markup Language
HyperText Markup Language
Home Tool Markup Language
Hyperlink Text Management Language
What is the purpose of the <a> tag in HTML?
To create a paragraph
To add an image
To define a link
To make text bold
How do you insert a line break in HTML?
<break>
<lb>
<br>
<hr>
What is the purpose of HTML tags?
To style webpages
To mark up the text of a document and inform the browser how it should be displayed
To add hyperlinks to documents
To store user data
HTML tags are enclosed in
Curly braces {}
Square brackets[]
Angle brackets <>
Double quotes " "
Which type of list uses the <ol> tag?
Ordered list
Unordered list
Description list
Navigation List
What tag is used for items in both ordered and unordered lists?
<ul>
<ol>
<li>
<item>
The style attribute in HTML can be used to:
Define font sizes and colors
Create hyperlinks
Define table structures
Add JavaScript functions
Which of the following is a valid HTML tag?
h1
<>
<h1>
>h1<
Which of the following is an example of metadata about a webpage?
The title of the webpage
The body of the webpage
an <h1> tag on the webpage
The <p> tag on the webpage
What is the function of the <br> tag?
Create a line break on the webpage
Create a horizontal line on the webpage
Italicize text
Bold Text
What is the function of the <hr> tag?
Create a line break on the webpage
Create a horizontal line on the webpage
Italicize text
Bold text
What is the function of the <em> tag?
Create a line break on the webpage
Create a horizontal line on the webpage
Italicize text
Bold text
What is the function of the <strong> tag?
Create a line break on the webpage
Create a horizontal line on the webpage
Italicize text
Bold text
Which of the following is the correct HTML code to create a hyperlink that displays "Click Me" and links to google.com?
<a href="https://google.com">
Click Me
</a>
<a href="Click Me">
</a>
Click Me <a>https://google.com</a>
<a>
Click Me
</a href="https://google.com">
Which of the following lines of HTML code will insert an image into a webpage?
<img>
https://codehs.com/static/img/logo.png
</img>
<img>
src="https://codehs.com/static/img/logo.png"
</img>
<img src="https://codehs.com/static/img/logo.png">
Which of the following HTML code snippets would produce the list shown.
<ul>
Apples
Bananas
Oranges
</ul>
<ol>
Apples
Bananas
Oranges
</ol>
<ul>
<li>Apples</li>
<li>Bananas</li>
<li>Oranges</li>
</ul>
<ol>
<li>Apples</li>
<li>Bananas</li>
<li>Oranges</li>
</ol>
Which of the following HTML code snippets would produce the list shown.
<ul>
Apples
Bananas
Oranges
</ul>
<ol>
Apples
Bananas
Oranges
</ol>
<ul>
<li>Apples</li>
<li>Bananas</li>
<li>Oranges</li>
</ul>
<ol>
<li>Apples</li>
<li>Bananas</li>
<li>Oranges</li>
</ol>
Which of the following HTML code snippets is the proper way to set the background color of an <h1> tag to be blue?
<blue>
<h1>Hello</h1>
</blue>
<h1 background-color="blue">Hello</h1>
<h1 style="blue">Hello</h1>
<h1 style="background-color: blue;">Hello</h1>
Which of the following HTML code snippets is the proper way to set the text color of an <h1> tag to be blue?
<h1 style="background-color: blue;">Hello</h1>
<h1 background-color="blue">Hello</h1>
<h1 style="blue">Hello</h1>
<h1 style="color: blue;">Hello</h1>
Why do we use CSS? (Select all that apply)
HTML wasn't intended to be able to style web pages, CSS allows us to add style.
Separate the content of a web page from the design of a web page
Easily modify the look and feel of a website even at a large scale
Which of the following is a valid CSS rule?
h1 {
color: blue;
}
style="color:blue;"
css="color:blue;"
h1 {
color {
blue;
}
}
Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?
<img style="height:200px;">
tag="img" {
height: 200px;
}
img {
height: 200px;
}
<img> {
height: 200px;
}
Which tag defines the visible content of a web document?
<head>
<title>
<meta>
<body>
Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines the main heading of a web document?
<h3>Product</h3>
<h1>Product</h1>
<h5>Product</h5>
<h6>Product</h6>
