Font size
WorksheetsKP Unit 1: HTML & CSS
Total questions: 42
Worksheet time: 34mins
HTML stands for...
(a)
These tags define the start & end of a paragraph. Paragraphs are blocks of text on your web page.
<p>
<P>
</p>
<h1>
The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?
<ul></ul>
<ol></ol>
<list></list>
This coding is used to create a paragraph:
<pr></pr>
<p></p>
<para></para>
<par></par>
A piece of a website, marked by a start tag and often closed with an end tag.
HTML Element
HTML Object
HTML Piece
HTML Tag
This tag contains information about your webpage, also called the metadata.
<head>
<header>
<title>
<body>
This tag represents and unordered list.
<ol>
<li>
<ul>
<un>
More than 90 percent of websites on the Internet are coded using HTML.
True
False
Match the correct end tag...
<body>
</body>
<\body>
</BODY>
<body/>
Which tag pair is used to create the largest heading?
<h1></h1>
<h9></h9>
<h type = "largest"></h>
<h6> </h6>
This tag indicates the beginning of your code written in HTML.
<li>
<!DOCTYPE html>
<html>
</html>
When coding an ordered or unordered list, each separate item in the list uses this tag:
<li></li>
<list></list>
<item></item>
Which of the following pieces of code will create a horizontal line across the page?
<hr>
<line>
<p>
<grid>
The <img> tag has two required attributes. Which answer is not correct?
src - Specifies the path to the image
alt - Specifies an alternate text for the image
style - used to add CSS to an element
The <img> tag is empty, it contains attributes only, and does not have a closing tag.
True
False
Images are put inside ________ tags.
<img>
<image>
<ig>
src stands for ________.
source
serial
sourcing
soars
The ____ attribute describes the picture, e.g.
<img>
src=""
alt=""
Which is the correct syntax for a link?
<a href="url">link text</a>
<a href="url" link text>
<a href=url>link text</a>
<a href="url" link text</a>
What is the purpose of the target attribute in the code above?
It tells the browser to make your screen blank when you click the link.
It tells the browser to open the link in the same tab when you click the link.
It tells the browser to open the link in a new tab when you click the link.
It tells the browser to open the link in a different browser when you click the link.
Which attribute contains the URL to a linked web page?
href
type
src
name
Ordered lists are used...
To display a list of items that need to be in a specific order
To display a list of items that can be in any order
To display descriptions of items in a list
To display a list of randomly generated items
Where does the content visible to users go in an HTML document?
<head>
<title>
<body>
<meta>
Which set contains all of the DEFAULT tags needed to create a webpage?
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
<html>
<head>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
Which tag is used to create a line break in HTML?
<line>
<break>
<br>
<lb>
Which attribute is used to provide alternative text for an image in HTML?
alt
text
title
src
What is the correct tag to create a numbered list in HTML?
<ul>
<ol>
<li>
<list>
border.The color this element will be________
Blue
Red
Green
No color
Looking at the picture below, based on those 3 important rules to remember, what will the color of the text be?
Red
Blue
No color
White
Which one is a PROPERTY?
width:
1000px;
#wrapper
Why add CSS to your webpage?
Control the look of your page
Add elements like text & images
Make your page interactive
