CodeHS Web Page Design

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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; }

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 is the correct HTML code to create a hyperlink that displays and links to google.com?

<a href="https://google.com"> Click Me </a>

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>

Which of the following is a valid HTML tag?

<h1>

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 is an example of metadata about a webpage?

The title of the webpage

Which of the follwing 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; }

What is the function of the <br> tag?

Create a line break on the resulting webpage

Which of the following HTML code snippets will generate the following table?

<table border="1"> <tr> <th>Name</th> <th>Score</th> </tr> <tr> <td>Karel</td> <td>32</td> </tr> </table>

Which of the following tags defines a table header?

<th>

Which of the following tags defines a table row?

<tr>

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>

Why do we use CSS?

All of the above


संबंधित स्टडी सेट्स

Cardiovascular System Chapter 12

View Set

physical science chapter 2 review

View Set

Economics regular chapter 1 introduction to Economics test

View Set

Chapter 1 Basic Marketing research: T/F, Multiple choice

View Set

Concept Review Training #1 (Study Guide)

View Set

QUIZ 8 (Meiosis and Sexual Reproduction)

View Set

230- HEALTH AND PHYSICAL ASSESSMENT

View Set

Insurance Regulation: Insurance Regulation

View Set

Foundations of Nursing: Cultural Awareness

View Set