Search Header Logo
Untitled Lesson

Untitled Lesson

Assessment

Presentation

Fun

6th - 8th Grade

Hard

Created by

kimora soles

FREE Resource

4 Slides • 0 Questions

1

media

Computer Science

2

This lesson is for anyone who is in computer science in 9th grade. This here will give you all the answers for each quiz and test! Happy studing.

3

Unit 1 Web Development

Which of the following is a valid HTML tag? <h1>
Which of the following is an example of metadata about a webpage? The title of the webpage
What is the function of the <br> tag? Create a line break on the resulting webpage
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>
Which of the following lines of HTML code will insert an image into a webpage? <img src="https://codehs.com/static/img/logo.png>
Which of the following HTML code snippets would produce the following web page: Apples, Bananas, oranges? <ul> <li>Apples</li> <li>Bananas</li> <li>Oranges</li> </ul>
Which of the following tags defines a table row? <tr>
Which of the following tags defines a table header? <th>
Which of the following HTML code snippets will generate the following table? <table borer="1"> <tr> <th>Name</th> <th>Score</th> </tr> <tr> <td>Karel</td> <td>32</td> </tr> </table>
Which of the following HTML code snippets is the proper way to set the background color of an <h1> tag to be blue? <h1 style="background-color:blue;">Hello</h1>
Why do we use CSS? All of the above
Which of the following is a valid CSS rule? 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 {height: 200px;}
Which of the following code snippets will select all HTML elements with the class "alert" and set their color to be red? .alert {color: red;}
Which of the following CSS rules will select the HTML element with the id logo and set the font size for that element to 60 pixels? #logo {font-size: 60px;}
What does URL stand for? Uniform Resource Locator
What is the first step of viewing a web page as described in the video? The URL: You type the URL for the web page into your browser
What is the second step of viewing a web page as described in the video? The Request: The browser sends a message to a server requesting a resource
What is the third step of viewing a web page as described in the video? The Response: The server sends a response to the browser with the resource attached

4

Unit 1 Web Development

What is the fourth step of viewing a web page as described in the video? Rendering the Page: Your browser takes the resource and renders it in the browser window
Which of the following is the proper format for an HTML tag? <h1>Content Affected by Tag <./h1>

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

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? <img src="https://upload.wikimedia.org/wikipedia/commons/6/62/Big_and_little_dog.jpg">

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 priority to lowest priority? Select by id name, select by class name, select by tag name
What is the result of the following HTML code: <ol> <li>Bread</li> <li>Milk</li> <li>Eggs</li> </ol>

media

Computer Science

Show answer

Auto Play

Slide 1 / 4

SLIDE