Quiz 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

HTML5 introduces a new element to contain image captions. What is it?

<figcaption>

What information does alt provide on the <img> tag?

A text description of what is shown in the image

CSS 3 introduced the rgba and hsla values for specifying colors. What does the a stand for?

Alpha

In this CSS, what color will the h1 headings appear? h1,h2,h3{color:red;} h2{color:black;}

Black

When a link does not contain a domain name (just a path to another file on the website) what is it called?

Relative URL

How will an older browser display a blue box which has been made semi-transparent using CSS 3 opacity?

Show a solid blue block rather than a semi-transparent one

What do the letters in URL stand for?

Uniform Resource Locator

Which link takes you to this heading at the top of the page? <h1 id="top">Hello!</h1>

c. <a href="#top">

What is the correct syntax for sending an email to Ivy?

mailto:[email protected]

Which selector indicates this element? <a id="top">Top</a>

#top { }

Which selector applies a rule to all elements?

* { }

Which is the correct URL when linking from seeds.html to the homepage? the-kitchen-garden index.html images news.html planting fruit.html herbs.html vegetables.html shop seeds.html tools.html gifts.html

../index.html

RGB colors contain values between 0 and 255. What is the value of green in this color: rgb(102,205,170)?

205

HTML5 introduces a new element to contain images. What is that element?

<figure>

Which element is used to add images to a web page?

<img>

In an HTML file, which element do you use to link to an external style sheet?

<link>

Which format would you save a logo in?

GIF or PNG

When a color is specified like this: #66cdaa what is it referred to as?

Hex code

Why is it important to save images the same size as they are shown on the page?

If images are too big they take longer to download and if images are too small they can look grainy when the size is increased

Which one of the following is false? High contrast text... a. is easier to read in sunlight than low contrast b. is harder for those with visual impairments to read c. can tire the eyes of readers when used in large amounts

Is harder for those with visual impairments to read

Relative URLs use the same terminology as family trees. Which one of the following is true about fruit.html? the-kitchen-garden index.html images news.html planting fruit.html herbs.html vegetables.html shop seeds.html tools.html gifts.html

It is a child of planting

Which format would you save a photograph in?

JPEG

Which format would you save an image with rounded corners and a transparent background in?

PNG

Which of these is not a valid way to specify color? b{color:50,60,70;} b{color:rgb(50,60,70);} b{color:#323c46;}

b { color:50,60,70; }

Which property allows you to specify the background color of an element?

background-color

Which selector applies to all links that are inside a <div> element?

div a { }

Which selector only applies to <p> elements that follow an <h1> element?

h1+p { }

A selector can indicate that a CSS rule applies to multiple elements. How is this done?

h1, h2, h3 ( )

Which attribute is used to indicate the page a link should go to?

href

Which of the following is the correct relative path from the homepage to the news page: the-kitchen-garden index.html images news.html planting fruit.html herbs.html vegetables.html shop seeds.html tools.html gifts.html

news.html

Which part of this CSS rule is the selector? p {font-family:Arial;}

p

What is the correct way to specify the color of a paragraph of text?

p {color: #ff0000;}

What unit of measurement is used for the height and width attributes?

pixels

If you want to have more than one declaration in a CSS rule, what character separates them?

semi-colon ;

Which part of this CSS rule shows the declaration? p {font-family:Arial;}

{font-family: Arial;}


Conjuntos de estudio relacionados

Narration and Description Writing

View Set

TEXTBOOK: Ch. 2: Convergence and the Reshaping of Mass communication:

View Set

CDE 232 - Human Development Chapter 13

View Set

Operating, Investing, or Financing?

View Set

Random Variables and Discrete Probability Distribution

View Set

French Multiple Choice Possibilities

View Set

Algebra 1 Unit 5 Linear Functions

View Set