NEW
Font size
WorksheetsHTML/CSS Makeup Quiz
Total questions: 35
Worksheet time: 14mins
The following HTML code should only exist within which of the following tags?
<title>Coding with HTML</title>
<head>
<body>
<h1>
Which of the following tags would contain the HTML code for a web page's visible content?
<body>
<head>
<html>
What is this tag <li>?
list item
line indent
left indent
What is this tag <p>?
paragraph
picture
perpendicular
What is this tag <ul>?
unordered list
unordered line
unknown line
What is this tag <ol>?
ordered list
organized list
ordered line
Which tags go around the entire HTML document?
<body></body>
<html></html>
<head></head>
<h1></h1>
Which CSS property changes text color?
text-color
textcolor
color
background-color
Which of the following is a proper image element?
<img src="dog.jpg" alt="dog"/>
<imag src="dog.com" alt="dog">DOG</imag>
<a src="http://dog.jpg" alt="dog"/>
<img href="dog.jpg" alt="dog"/>
Which of the following is a properly formed HTML element?
<h1>Hello<h1>
<h1 Hello /h1>
<h1>Hello</h1>
<h1>Hello</h>
What is the complete HTML code for a paragraph element with text that says "Welcome"?
<p>Welcome<p>
</p>Welcome </p>
<p>Welcome</p>
Which is the proper way to write an h1 tag
<h1>Hello</h1>
<h1>"Hello
{h1}Hello{/h1}
<h1>Hello<h1>
red
What does the 'H1' tag represent in HTML?
A medium-sized heading
A subheading
The largest heading
The smallest heading
What is the default behavior of the 'title' tag in HTML?
It displays the title of the web page in the browser tab
It creates a pop-up message when the mouse hovers over an element
It sets the title of the web page as the header
It defines the title of a section within the web page
What is the purpose of the 'body' tag in HTML?
It contains the main content of the web page
It creates a link to another web page
It defines the styling and layout of the web page
It references external resources for the web page
Which CSS property is used to add a line around an image?
edge
outline
frame
border
Which is correct CSS syntax?
{body; colour = black;}
body: colour = black
body {
colour : black;}
{body colour is black}
Which sets the colour of words in a paragraph
h1 {
colour: pink }
img {
colour: pink }
p {
colour: pink }
p {
color: pink }
Select the rule to make all the text in your web page blue and centered.
p {
colour: blue; }
body {
text-align: left;
colour: blue; }
p {
text-align: center
color: blue; }
body {
text-align: center
color: blue; }
The parts of HTML source code that mark the start and end of various parts of a webpage, and which consist of a command between the symbols '<' and '>' (< >) are called what?.
Tags
Elements
Sections
Labels
TRUE OR FALSE:
HTML is used to style web pages.
True
False
TRUE OR FALSE:
CSS is used to style web pages
True
False
The part of the code highlighted in BLUE is called the _____________
Declaration
Selector
Property
Value
The part of the code in blue is called the?
Declaration
Selector
Property
Value
The part of the code highlighted in blue is called the:
Declaration
Selector
Property
Value
The part of the code highlighted in blue is called the?
Rule Set
Selector
Property
Value
What tags in the HTML will this CSS rule style?
In the code below, what tags do you need to add to make the list a numbered list?
<ol> </ol>
<ul> </ul>
What correction needs to be made in the code
line 8 - <p> </p> tags needed
line 8 - <li> </li> tags needed
line 8 - <h6> </h6> tags needed
