WorksheetsExplorer's end of year exam
Total questions: 45
Worksheet time: 23mins
What is this tag <img>?
image
internet markup group
imagination
What is this tag <ol>?
ordered list
organized list
ordered line
What is this tag <th>?
table heading
title
type here
The target attribute tells the computer where to display the link.
true
false
What is this tag <td>?
table data
text data
table dimension
What is this tag <ul>?
unordered list
unordered line
unknown line
What word must be added to the code "background-size:" to make the image fill the entire web page background?
cover
fill
replace
Which CSS embedded rule allows the text to scroll but the image to stay still?
background-attachment
background-position
background-repeat
All CSS embedded code must be placed inside which tags?
style
body
color
Which CSS embedded rule is used to assign the location of the image on a web page?
background-position
background-attachment
background-repeat
Which of the following phrases must be added to CSS embedded code to stop the background image from scrolling with the text?
fixed
no-scroll
cover
What is this tag <hr/>?
horizontal rule
header
head runner
What is this tag <p>?
paragraph
picture
perpendicular
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 <tr>?
table row
table
text runner
What is this tag <li>?
list item
line indent
left indent
What is this tag <br/>?
single space
double space
back row
What does the 'doctype HTML' tag indicate in an HTML document?
It sets the background color of the web page
It specifies the character set of the document
It indicates the start of the HTML document
It defines the title of the web page
What is the purpose of the 'head' tag in HTML?
It contains the main content of the web page
It references external resources for the web page
It creates a link to another web page
It defines the styling and layout of the web page
Which tag is used for writing full sentences and paragraphs in HTML?
H2
P
A
H1
What does the 'H1' tag represent in HTML?
A medium-sized heading
A subheading
The largest heading
The smallest heading
What is the purpose of the 'utf-8' character set in HTML?
It sets the text alignment of the web page
It defines the font style for the web page
It specifies the character encoding for the web page
It specifies the language of the web page
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
What is the significance of the 'H2' tag in HTML?
It indicates a subheading within a section
It represents the smallest heading
It sets the font style for the web page
It defines the largest heading
How can heading tags be reused in HTML?
They can be used for creating hyperlinks
They are not reusable in HTML
They can be used multiple times in a document
They can only be used once in a document
What does the 'img' tag do in HTML?
It creates a hyperlink
It embeds an image
It defines a section
It creates a table
What CSS property is used to center an image?
align
display
margin
position
What CSS property is used to center an image?
align
display
margin
position
Which CSS property is used to add a line around an image?
edge
outline
frame
border
What does the 'border-radius' property do in CSS?
Changes the color of the border
Adds a shadow to the border
Rounds the corners of the border
Increases the thickness of the border
What value is used to center an image horizontally in CSS?
0 auto
auto 0
center
50%
Which CSS property is used to specify the type of border?
type
format
pattern
style
What is the purpose of the 'display' property in CSS?
To change the font size
To add padding to an element
To change the text color
To control the layout of an element
Which tag is used for the content of the web page in the CSS file?
DIV
SPAN
HTML
BODY
What attribute is used to change the color of the font in CSS?
Color
Font
Text-Color
Font-Color
How is the font size specified in CSS?
Text-Size
Font
Font-Size
Size
What property is used to align text in the center in CSS?
Align-Text
Text-Center
Text-Align
Center-Text
Which property is used to change the background color of the web page in CSS?
Background-Color
Page-Color
Background
Color-Background
What is the purpose of adding padding to a tag in CSS?
Increase font size
Add space inside the box
Change font color
Align text
What is the purpose of the 'border' property in CSS?
To create a boundary around an element
To change the font color
To increase the font size
To align the text
What is the correct tag for adding an image in HTML?
URL
SRC
HTML
IMG
Why is it better to save the image file with a short and descriptive name?
To increase website speed
To save storage space
To confuse the user
To easily identify the image
What is the potential issue with referencing an image through a URL in HTML?
It makes the image unstable
It increases website security
It reduces image loading time
It improves website performance
