Search Header Logo

Basic Quiz on Html and CSS

Authored by Balaji UK

Other

University

Used 33+ times

Basic Quiz on Html and CSS
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.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_____ HTML element is used to define a preformatted text

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_____ is the type of CSS,assign a style to specific element of HTML

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_____is the type of CSS,assigns a style to a specific HTML document

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

____is the type of CSS, which can resuse for any HTML document

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use the correct attribute to make sure that the last paragraph gets the styling as described in the style element.

<html>

<head>

<style>

#special {

color:gray;

background-color:lightblue;

}

</style>

</head>

<body>


<p>This is a paragraph.</p>

<p>This is a paragraph.</p>

<p ________ >This is a paragraph.</p> </body></html>

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use CSS to make a yellow, 1 pixel thick, border around all paragraphs.

<html>

<head>

<style>

___{_______ : _________solid ___}

</style>

</head>

<body>


<p>This is a paragraph.</p>

<p>This is a paragraph.</p>

<p>This is a paragraph.</p>


</body>

</html>

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use CSS to center align the paragraph.

<p style="_______">This is a paragraph.</p>

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?