WorksheetsHTML
Total questions: 25
Worksheet time: 25mins
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>
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>
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>
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>
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>
The HTML tag <b> does what to text?
Makes it bold
Breaks the text into pieces
Creates a border
Blinks the text
The HTML tag <p> does what to text?
Creates a paragraph
Runs a procedure of code
Prepares a line with bigger fonts and a border
Runs a poll with four multiple choice questions
Which is the correct spelling?
hypolink
hyprelink
hippolink
hyperlink
Which of the following is a correct HTML tag for a paragraph?
What does HTML stand for?
Hyper Text Markup Language
High Text Markup Language
Hyperlink and Text Markup Language
Hyper Tool Markup Language
Which HTML attribute is used to define inline styles?
style
class
styles
font
Which HTML element is used for the largest heading?
Which HTML element is used to specify a footer for a document or section?
Which HTML element is used to define important text?
Which HTML element is used to define emphasized text?
Which attribute is used in HTML to specify that an input field must be filled out?
required
validate
mandatory
needed
Which HTML element is used to define a table row?
