
HTML STYLES
Authored by hendra doy
English, Computers
12th Grade
Used 41+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
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
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
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>
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?