Search Header Logo

HTML & CSS Part II

Authored by Nixon López

Computers

9th - 12th Grade

Used 9+ times

HTML & CSS Part II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What should be added to the "???" to ensure the website is responsive and adjusts to different screen sizes?

width=device-width, initial-scale=1.0

width=100%, initial-scale=1.0

width=device-width, initial-scale=0.5

D) width=device-width, initial-scale=2.0

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What value should replace the "???" to apply the CSS rules inside the media query when the screen width is 768 pixels or less?

768px

980px

1200px

D) 600px

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

Which metadata element is responsible for specifying the character encoding of the HTML document?

<title>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="keywords" content="HTML, CSS, web development">

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will be the result of adding the given inline CSS to the <div> element?

The <div> will be centered on the page.

The <div> will be positioned 50 pixels from the top and 100 pixels from the left of its parent container.

The <div> will be positioned 50 pixels from the top and 100 pixels from the left of the screen.

The <div> will be positioned at the top-left corner of the screen.

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will be the positioning of the .box element within the .container?

The .box element will be positioned at the top-left corner of the .container.

The .box element will be positioned at the center of the .container.

The .box element will be positioned at the bottom-right corner of the .container.

The .box element will be hidden within the .container.

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What is the total width of the box, including content, padding, border, and margin?

100px

124px

164px

204px

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What does the <track> element do in this code?

It displays an image.

It embeds a video with captions.

It plays audio files.

It creates a track for the video to follow.

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?