Search Header Logo

Web Design: Pop Quiz

Authored by Leng Kai Ooi

Computers

10th - 12th Grade

Used 35+ times

Web Design: Pop Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a valid CSS rule?

h1 {

color: blue;

}

<h1> {

color: blue;

}

h1 {

color="blue";

}

h1 {

color=blue;

}

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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 tag name, select by class name, select by id name

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

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

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

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

II only

I and II

Neither I nor II

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?

<img style="height:200px;">

tag="img" {

height: 200px;

}

<img> {

height: 200px;

}

img {

height: 200px;

}

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

red

green

blue

black

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

red

blue

green

black

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

>h1<Content Affected by Tag >/h1<

<h1>Content Affected by Tag<h1>

<h1 Content Affected by Tag />

<h1>Content Affected by Tag</h1>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?