Font size
WorksheetsHTML and CSS Assessment
Total questions: 30
Worksheet time: 16mins
Which is the proper way to write an h1 tag
<h1>Hello</h1>
<h1>"Hello
{h1}Hello{/h1}
<h1>Hello<h1>
Does <ul> tag go on the HTML page or the CSS page?
HTML
CSS
Does the following code go on the HTML page or the CSS page?
body {
background: brown;
}
HTML
CSS
sets the color of words in a paragraph
h1 {
color: pink;
}
img {
color: pink;
}
body {
color: pink;
}
p {
color: pink;
}
Which tag is used for creating an ordered list in HTML?
<ul>
<ol>
<li>
<dl>
Which HTML tag is used to create a hyperlink?
<p>
<a>
<img>
<div>
Which CSS property controls the text size?
font-style
text-size
font-size
text-style
Which HTML attribute is used to provide an alternate text for an image, if the image cannot be displayed?
alt
src
href
title
What is the function of the <ul>
tag in HTML?
To create an unordered list
To underline text
To make text uppercase
To insert an image
Which tag is used for creating a table row in HTML?
<tr>
<td>
<th>
<table>
What does HTML stand for?
(a)
What does CSS stand for?
(a)
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 <ol>?
ordered list
organized list
ordered line
What is this tag <br/>?
single space
double space
back row
how do you write a paragraph in HTML
<p>
<p></p>
<paragraph>
<paragraph></paragraph>
how do you engage CSS
<CSS>
<CSS></CSS>
<style></style>
<style>
<engage-CSS></engage-CSS>
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
Links to a CSS style sheet should be placed in which HTML section
body
footer
head
comment
The <h4> tag defines
A heading
A paragraph
A list
A line break
