Search Header Logo

Common HTML and CSS Mistakes

Authored by Adrian Setiawan

Design

9th - 12th Grade

Common HTML and CSS Mistakes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

This code won't change the color or background color of text "Hello this is Adrian". What's wrong?

No acute bracket in css <>

The CSS file hasn't been saved.

spelling of the selector.

CSS missing a semicolon

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's wrong in this code snippet?

Line 16, </div> is wrong. No opening tag

Line 15, </p is wrong. No closing tag

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

The img under class "logo" doesn't appear in the website.
What's wrong in this code snippet?

No closing tag on <div class= logo>

The HTML file hasn't been saved.

The writing of img is wrong, it should be <image>

The img must actually be in CSS instead of HTML

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

This code won't change the color or background color of text "Hello this is Adrian". The css is wrong. Which CSS Element is wrong? (Answer in one word)

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

This is example of a messy code. Why is it messy?

The programmer did not press ENTER when typing a new line

The indentation is messy

There is no image

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?