NEW
Font size
WorksheetsHTML & CSS Quiz
Total questions: 50
Worksheet time: 25mins
Which HTML tag is used to create a paragraph?
</P>
<p>
<paragraph>
(p)
What does HTML stand for?
Hyperlinks and Text Markup Language
Hyper Text Markup Language
Home Tool Markup Language
Hyper Text Markdown Language
Which of the following is cosidered to be a selector?
color
body
property
text-align
The CSS link to connect to the HTML page should be included between the <body> tags.
true
false
What is the correct way to create a line break?
<lb>
<line break>
<br>
<hr>
Which element creates the largest heading?
<h2>
<h3>
<h6>
<h1>
Which element creates an ordered list?
<ol>
<ul>
<li>
<il>
What does CSS stand for?
Colorful Style Sheets
Creative Styling System
Cascading Style Sheets
Computer Style Syntax
What is a CSS selector?
A rule that colors text
A symbol used for lists
A pattern used to select HTML elements
A CSS property
Which is an example of a type selector?
HTML
h3
p)
<p>
Which CSS property changes text color?
font-color
bg-color
color
text-style
What CSS property changes the background color?
color-bg
background-color
bg
RGB
Which CSS property changes the size of text?
font-style
font-size
text-height
size
Which property makes text bold?
bold
font-weight
text-bold
weight
What property centers text?
align
text-center
text-align
center
Which CSS property adds spaces between letters?
line-spacing
padding-spacing
letter-spacing
element-space
Which symbol ends a paragrah tag?
/>
</>
<;>
>/<
Which symbol surrounds a declaration block (rule set)?
()
[]
{}
<>
What is the proper link to use when connecting an HTML and a CSS file?
<link rel="stylesheet href="style.css
<link rel="style.css" href="spreadsheet>
<link rel="stylesheet hfed"style.css
<link rel="stylesheet" href="style.css">
Where must the CSS link tag be placed?
Inside the body tags
At the bottom of the page
Inside the head tags
Inside the <p> tags
Which of the following is a valid color value?
#ff0000
rgb(255,,0)
red
#025
Which CSS property changes the font family?
font-type
typeface
font-family
font-style
What is the HTML tag for a list item?
<ol>
<li>
<il>
<ul>
Which property changes the width of an element?
block-size
width
element-width
size-width
Which CSS rule increases spacing between letters?
letter-spacing
word-spacing
text-gap
margin-text
Which CSS value makes text italic?
style: italic
italic
font-style: italic
text-italic
What tag of HTML is used to add CSS?
body
head
html
title
Which is a valid CSS comment?
< comment >
# comment #
/* comment */
{ comment }
Which is the correct format for a CSS rule set for an h3 heading?
h3 {
color: orange;
font-size: 16px;
]
h3 {
color: orange;
font-size: 16px;
h2 {
color:;orange:
font-size; 16px:
}
h3 {
color: orange;
font-size: 16px;
}
Which is the correct format for a CSS rule set for a paragraph?
p {
color: orange;
font-size: 16px;
}
p {
color: orange;
font-size: 16px;
p {
color:;orange:
font-size; 16px:
}
{ p
color; orange;
font-size: 16px;
}
The content of the web page goes in between which two tags?
<head>
</head>
<HTML>
</HTML>
<Body>
</Body>
<p>
</p>
What is necessary to connect the HTML page with the CSS style page?
HTML file
Link tag
Style.css file
Rule Sets
What is the correct HTML tag for inserting a line break?
<lb>
<line>
<br>
<break>
A rule set includes what information?
HTML tags and values
selctor, property, value
property, value, end tags
selector, head tag, property
What is another word you could use for selector?
element
link tag
property
value
Which CSS property is used to add space inside an element, between its content and border?
spacing
border-spacing
padding
margin
What is the correct HTML tag to insert an image?
<img>
<image>
<picture>
<src>
Which CSS property controls the space between lines of text?
letter-spacing
text-spacing
font-spacing
line-height
What is the proper format to include a property and a value for a selector?
(property; value:)
property: value;
property: valeu:
{property; value}
If adding a border, which property would you use?
border-decoration
border-property
border-style
border-color
Which CSS property is used to set the color of a border?
border-width
border-style
color-border
border-color
What property is needed to create italics?
font-family
font-weight
font-style
font-italics
Which heading is the smallest size?
<h7>
<h6>
<h5>
<h4>
Which CSS property is used to change the color of text?
background-color
color
text-color
font-color
There are six heading sizes.
True
False
Which property is used when adding space between letters?
text-shadow
text-decoration
letter-spacing
line-spacing
Which HTML tag is used to display an image?
<src>
<picture>
<image>
<img>
Which CSS property is used to set the background color of an element?
color
background-color
background
bg-color
Elements and selectors are the same regarding HTML.
True
False
Which property is needed to change the font size?
font:size
font;size
font_size
font-size
