HTML STYLES

HTML STYLES

12th Grade

6 Qs

quiz-placeholder

Similar activities

HTML

HTML

1st - 12th Grade

10 Qs

HTML basics

HTML basics

12th Grade

10 Qs

HTML and CSS Certification Practice Test

HTML and CSS Certification Practice Test

6th - 12th Grade

10 Qs

Intro to HTML

Intro to HTML

6th - 12th Grade

10 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

HTML Introduction

HTML Introduction

9th - 12th Grade

10 Qs

HTML Formatting Tags

HTML Formatting Tags

9th - 12th Grade

10 Qs

Snippets HTML Basics Quiz

Snippets HTML Basics Quiz

9th - 12th Grade

8 Qs

HTML STYLES

HTML STYLES

Assessment

Quiz

English, Computers

12th Grade

Easy

Created by

hendra doy

Used 41+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Use the correct HTML attribute, and CSS, to set the color of the paragraph to "blue".

<p =";">This is a paragraph.</p>

<p style="color:blue;">This is a paragraph.</p>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Use CSS to set the font of the paragraph to "courier".

<p style="font-family:courier;">This is a paragraph.</p>

<p style="------:courier;">This is a paragraph.</p>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Use CSS to center align the paragraph.

<p style=":text-align;">This is a paragraph.</p>

<p style="text-align:center;">This is a paragraph.</p>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Use CSS to set the text size to 50 pixels.

<p style=":50px;">This is a paragraph.</p>

<p style="font-size:50px;">This is a paragraph.</p>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Use CSS to set the background-color of the document to yellow.

<html>

<body style="------:yellow;">


<h1>This is a heading</h1>


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


</body>

</html>

<html>

<body style="background-color:yellow;">


<h1>This is a heading</h1>


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


</body>

</html>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Use CSS to center align the document.

<html>

<body ----="--------;">


<h1>This is a heading</h1>


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


</body>

</html>

<html>

<body style="text-align:center;">


<h1>This is a heading</h1>


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


</body>

</html>