Font size
WorksheetsHTML / CSS
Total questions: 20
Worksheet time: 16mins
What is HTML generally used for?
Android apps
User Interface Operations
Webpage aesthetics
The skeleton of webpages
Which is correct CSS syntax?
{body; colour = black;}
body: colour = black
body {
colour : black;}
{body colour is black}
What unit of measurement does CSS use for size?
px
em
%
All work
Select the tags below:
<body>
/body
<p>
img
Which tag is used to display/contain all things shown on the webpage?
/body
<p>
<body>
<img>
Which tag is an end tag?
<body>
</body>
<p>
<img>
Which tags are used to create a paragraph
<body> </body>
<img src => </img>
<p> </p>
<h1> </h1>
What language is used to define the structure of a webpage?
HTML
JavaScript
CSS
French
What language is used to add style to a webpage?
HTML
JavaScript
CSS
French
What tag do you used to create a numbered list?
<list>
<ol>
<li>
<ul>
Which sets the colour of words in a paragraph
h1 {
colour: pink }
img {
colour: pink }
body {
colour: pink }
p {
colour: 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
colour: blue; }
body {
text-align: center
colour: blue; }
What symbols go around the properties for each CSS selector?
< >
[ ]
{ }
( )
What is the selector for a link?
a { }
link { }
href { }
a href { }
Annie wants the name of her product to be the main heading at the top of her webpage. Which tage defines the main heading in a web documnets?
<h3>Product<h3>
<h5>Product<h5>
<h1>Product<h1>
<h6>Product<h6>
Name an element which does not have a closing tage.
<img>
<head>
<body>
<p>
What symbol should you use to target a class names in css?
#
()
.
class
What symbol should you use to target an id in css?
.
+
id
#
Kareb wants to begin a new line within a paragraph of text on a webpage. Which code should she use?
<li>
<h1>
<hr>
<br>
What is the correct code for a paragraph in css?
P
<p> </p>
.p
p {
}
