Search Header Logo

HTML and CSS

Authored by Ankit Mishra

Computers

Professional Development

Used 5+ times

HTML and CSS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output if you add the attribute target="_blank" to the <a> tags?

 The links will open in the same tab.

The links will open in a new tab.

The links will not open at all.

The links will open in a new window.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When using rem units in CSS, what is the value of 1rem if the root (html) element has a font size of 20px?

  • 10px

  • 40px

  • 20px

32px

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If box-sizing: border-box is applied to an element, which parts of the box model are included in the width and height of the element?

  • Content only

  • Content and padding only

  • Content, padding, and border

Content, padding, border, and margin

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is an incorrect special character entity in HTML?

  • &copy;

&lt;

&pound;

 &space;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The universal selector * has the lowest specificity.

True

False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The px unit in CSS scales according to the size of the viewport.

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following media query applies styles to devices with a screen width of 1200px or more:
@media screen and (max-width: 1200px) {

  /* styles */
}

True

False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?