Font size
Worksheetstest html/css
Total questions: 18
Worksheet time: 9mins
The Tag used for the largest text on the page:
h0
h1
h6
h7
The smallest heading Tag used for in the page:
h0
h1
h6
h7
Which of the following is a valid HTML code?
<h2></h2>
<span </span>
<input/>
<body>
Which of the following center the text in the <h3> tag:
<h3 style=center>
h3 ( text-align: center; )
h3 { text-align: center; }
Use the tab key to center.
What <i> is for?
Each rule in CSS should end with:
:
;
.
,
Which of the following is a valid HTML code?
h1 { font-size: 75 px; }
h1 { font-size: 75px }
h1 font-size: 75px; }
h1 { font-size: 75px; }
In the rule: h1 { font-size: 75px; } what is h1?
CSS
Selector
Value
An increase in text size
Which of the following is a valid CSS comment?
/* This is a comment */
// This is a comment
# This is a comment
-- This is a comment
What does the margin property in CSS control?
Text alignment
Font size
Space outside an element
Space inside an element
margin: auto; can be used to:
Set all margins to 0.
the property used to change text color is:
text-color
color
font
How to make a circle out of a square with css:
How would you apply verdana(font) to h3, div
and header?
.h3 .div .header { font-family: 'Verdana'; }
.h3, .div, .header { font-family: 'Verdana'; }
h3, div, header { font-family: 'Verdana'; }
What is the difference between classes and ids in html:
Classes are not unique but IDs must be unique within a page.
no difference
What is the difference between classes and ids in CSS:
Classes always start with "#" and Ids start with "."
Classes always start with "." and Ids start with "#"
no difference
in how much digits colors are represented in CSS with "#" symbol:
4 or 8
3 or 6
3
What’s responsive web design for?
