Web Development Unit Test (Code HS)
Questions and Answers 100% Pass Rate
Which of the following is the proper format for an HTML tag? ✔✔Content Affected by
Tag
Which of the following best describes the difference bet
...
Web Development Unit Test (Code HS)
Questions and Answers 100% Pass Rate
Which of the following is the proper format for an HTML tag? ✔✔
Content Affected by
Tag
Which of the following best describes the difference between the domain and path of a URL?
✔✔The domain specifies where the browser's request should be sent.
The path specifies exactly what file is being requested.
What is the domain of this URL: ✔✔example.com
What is generated from the following HTML code:
Hello
Hello
Hello
✔✔"Hello"
biggest
bigger
big
Which of the following classifies as metadata about a webpage? ✔✔The title of the webpage
An image is hosted at
https://upload.wikimedia.org/wikipedia/commons/6/62/Big_and_little_dog.jpg
Which of the following is the proper HTML code to display this image on your webpage?
✔✔

Which of the following is a valid CSS rule? ✔✔h1 {
color: blue;
}
CSS rules have a selector that defines which HTML elements the rule applies to.
We've learned about the following CSS Selectors:
Select by tag name
Select by class name
Select by id name
Which of the following ranks the selectors from highest precedence to lowest precedence?
✔✔Select by id name, select by class name, select by tag name
What is the result of the following HTML code:
- Bread
- Milk
- Eggs
✔✔1. Bread
2. Milk
3. Eggs
Suppose you are making a music streaming website and you want to make a page that displays a
user's music library.
Which of the following is the proper HTML code to create the following table:
https://cl.ly/2k3G3e0C3h0w/Screen%20Shot%202016-10-17%20at%201.44.15%20PM.png
✔✔
| Title |
Artist |
Length |
| CD Jam |
Rooney Pitchford |
3:55 |
| Memory |
Tom Misch |
5:41 |
Which of the following statements are true about styling your web pages with CSS:
I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style
II. You can create styles with CSS that are not possible using style= on an HTML tag ✔✔I only
Suppose you have written a web page using HTML and CSS and it is hosted at the URL
yourdomain.com/home.html
Which of the following statements is true about which devices can view your website? ✔✔Any
browser on any device will be able to view your webpage, because all browsers and devices on
the Internet agree to use the same protocols for sending, receiving, and viewing webpages.
Suppose you have the following CSS rules:
p {
color: green;
}
.fire {
color: red;
}
#title {
color: blue;
}
What font color will the following HTML element have after being styled by the given CSS:
Welcome!
✔✔red
Suppose you have the following CSS rules:
p {
color: green;
}
.fire {
color: red;
}
#title {
color: blue;
}
What font color will the following HTML element have after being styled by the given CSS:
My First Paragraph
✔✔green
Suppose you have the following CSS rules:
p {
color: green;
}
.fire {
color: red;
}
#title {
color: blue;
}
What font color will the following HTML element have after being styled by the given CSS:
Hello World!
✔✔blue
[Show More]