Web Design Review

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which CSS property controls the text size?

font-size

Choose the correct HTML element to define emphasized text

<em>

https://res.cloudinary.com/gimkit-production/image/upload/v1572375071/qlj0ui8otgs89wfnsewb.png

I, III, IV

How do you make the text bold?

font-weight:bold;

Which of the following is a valid CSS Rule?

h1 { color: blue; }

How do you add a background color for all <h1> elements?

h1 {background-color:#FFFFFF;}

What is the reasoning behind the Don't Repeat Yourself principle?

Repeated code makes it harder to read and edit

How do you select an element with id "demo"?

#demo

How do you select elements with class name "test"?

.test

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>

What does HTML stand for?

Hyper Text Markup Language

HTML comments start with <!-- and end with -->

True

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.

Which of the following is not a step required to view a web page?

the user types in their login credentials

What is the correct HTML for referring to an external style sheet?

<link rel="stylesheet" type="text/css" href="mystyle.css">

What is the internet?

All of the above

What does CSS stand for?

Cascading Style Sheets

What are some ways to cut down on repetitive code in your website?

All of the above

Which of the following is a valid color in HTML?

All of the above

Why do we use CSS?

All of the above

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>

You are trying to apply the same style to several different elements in a block, with line breaks before and after. Which tag should you use?

<div>

Choose the correct HTML element to define important text

<strong>

Which of the following tags defines a table header?

<th>

Which HTML element defines the title of a document?

<title>

Why is it important to avoid repetitive code while creating a website?

All of the above

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.

What is the function of the <br> tag?

Create a line break on the resulting webpage

Which of the following would you use an IFrame for?

Embedding a map from Google Maps in your website

Which of the following are examples of browsers: I - Chrome II - Firefox III - Safari IV - Windows 7 V - Google

I, II, and III only

Where in an HTML document is the correct place to refer to an external style sheet?

In the <head> section

What is the correct CSS syntax for making all the <p> elements bold?

p {font-weight:bold;}

Which of the following is a term that describes a widely agreed upon set of rules that standardize communication between machines?

protocol

All of the colors you see on a computer screen are the result of a mixture of the same three colors. What are those colors?

red, green, blue

Which of the following tags defines a table row?

<tr>

Suppose you have written a web page using HTML 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.

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 ar

I only

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 th

Select by id name, select by class name, select by tag name

Which of the following is not a concern that has come out of the widespread adoption of the internet?

Selecting the correct browser to use for the sites you want to visit.

What is the result of the following HTML code?

https://res.cloudinary.com/gimkit-production/image/upload/v1572375967/wljgsb9ces7ujmqvyqx2.png

Which of the following does not demonstrate a harmful consequence of increased anonymity on the internet?

users can avoid targeted discrimination in an online forum.

Choose the correct HTML element for the largest heading:

<h1>

Which of the following is the proper format for an HTML tag?

<h1> content affected by the 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">

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 IMPAGE ON YOUR WEBPAGE

<img src="https://upload.wikimedia.org/wikipedia/commons/6/62/Big_and_little_dog.jpg">

What is a browser?

A program on your computer that allows you to visit websites

What machine listens for HTTP requests to come in to a website's domain?

a server

Which property is used to change the background color?

background-color

Which is the correct CSS syntax?

body {color: black;}

Which CSS property is used to change the text color of an element?

color

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 character is used to indicate an end tag?

/

What is the path of the URL www.twitter.com/codehs

/codehs

What percentage of the world population has access to the internet?

50

Which doctype is correct for HTML5?

<!DOCTYPE html>

Which of the following classifies metadata about a webpage?

The title of the webpage

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: 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: green

Which of the following selects all elements with the class footer that are inside of divs?

div .footer { ... }

How do you select all p elements inside a div element?

div p

which of the following is an example of a browser?

firefox

Which property is used to change the font of an element?

font-family

Suppose you are making a music streaming site 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 this table?

https://res.cloudinary.com/gimkit-production/image/upload/v1572376085/en4j6iagtzzvttqnb9zs.png

HTML wasn't intended to be able to style web pages, CSS allows us to add style

img { height: 200px; }

What is the domain of this URL

www.example.com


Set pelajaran terkait

Module 5 - Heart Disease & Cancer *still editing*

View Set

Chapter 2 of Computer Information systems stuff

View Set

Chapter 8 Terms AP World History

View Set

Micro-Economics Chapter 1 & 2 review

View Set

Chapter 31: Patients with Hypertension

View Set

Chapter 4- Civil Liberties- 1st Amendment

View Set

PVN 133 Growth & Development: Exam 1 & 2

View Set

Anatomy and Physiology Chapter 18: Nutrition and Metabolism

View Set