Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IST CodeHS Unit 5 Web Design Review

Total questions: 30

Worksheet time: 17mins

Name
Class
Date
1.

HTML stands for:

a)

Hyper Text Markup Language

b)

Hyper Text Marking Layer

c)

Hard Texture Marking Language

d)

Hard Technical Making Language

2.

What is CSS used for?

a)

Design the style of a website

b)

Enhance the cybersecurity of a website

c)

Add content to a website

d)

Browse different websites on the Internet

3.

What does an <h1> tag do in HTML?

a)

Makes the text large and bold for a heading

b)

Inserts a hyperlink to the website

c)

Makes the text emphasized with italics

d)

Inserts an image to the website

4.

What's wrong with the HTML code below?

<p>This is a paragraph in HTML</h1>

a)

The closing tag should be </p>

b)

The closing tag should be <>

c)

The opening tag should be <a>

d)

The opening tag should be </p>

5.

Which of the following is an example of metadata about a webpage?

a)

The title of the webpage

b)

An <img> tag on a webpage

c)

The body of the webpage

d)

A <p> tag on a webpage

6.

What is the function of a <br> tag on a webpage?

a)

Create a line break

b)

Make the font bold

c)

Change the font family

d)

Make a row of a table

7.

What is a correct way to make the word 'Start' have bold and italic font styles?

a)

<p><b><i>Start</i></b></p>

b)

<p><i>Start</i></p>

c)

<p><b>Start</b></p>

d)

<b><i>Stat</i></b></p>

8.

Which of the following is correct HTML code that will make a hyperlink to google.com?

a)

<a href="https://google.com"> Link </a>

c)

<a>Link to google.com</a>

d)

Click Me<a h="https://google.com">

9.

What does the following HTML code do? <img src="picture.jpg" style="width:200px; height:200px">

a)

Adds an image to the webpage with a width of 200 pixels and height of 200 pixels

b)

Makes a hyperlink to an image on the web

c)

Uses an image as a hyperlink to another website

d)

Adds an image to the webpage with a text description of the image dimensions

10.

What line of code typically begins an HTML page?

a)

<html>

b)

<title>

c)

<head>

d)

<body>

11.

What is wrong with this HTML code? <img="picture.jpg" style="width:200px; height:200px">

a)

The img tag needs a src attribute

b)

There should be a closing tag </img>

c)

You should not specify the style of an image element

d)

It should use an <a> tag instead of <img>

12.

How do you make an image into a hyperlink using HTML?

a)

Put the hyperlink tag first, then the image tag

b)

Put the image tag first, then the hyperlink tag

c)

Put the hyperlink tag inside the opening image tag

d)

Put the image tag inside the opening hyperlink tag

13.

Which of the following are text formatting tags in HTML? Select all that apply.

a)

<strong>

b)

<em>

c)

<img>

d)

<a>

14.

What HTML code will produce the following content?

  • * Red

  • * Green

  • * Blue

a)

<ul>

<li>Red</li>

<li>Green</li>

<li>Blue</li>

</ul>

b)

<ol>

<li>Red</li>

<li>Green</li>

<li>Blue</li>

</ol>

c)

<p>Red</p>

<p>Green</p>

<p>Blue</p>

d)

Red <br> Green <br> Blue

15.

What hexadecimal color code is most likely to appear Green?

a)

#00FF55

b)

#FF0055

c)

rgb(0, 10, 10)

d)

#5500FF

16.

Which tag defines a table header element in HTML?

a)

<th>

b)

<tr>

c)

<table>

d)

<li>

17.

What does the following HTML code do?

<table>

<tr><th>N</th><th>%</th></tr>

<tr><td>100</td><td>55</td></tr>

</table>

a)

Creates a table on the webpage with no border, header row with N and %, and a row of data with 100 and 55

b)

Creates a table on the webpage with a normal border width 1, header row with N and %, and another header row with 100 and 55

c)

Creates a table on a webpage with 4 data values in a single row

d)

Creates an ordered list on a webpage with values of N, %, 100, and 55

18.

Which of the following contents might be best represented on a webpage using a table element?

a)

A set of cat photos

b)

A calendar for the month of March

c)

A menu for a local restaurant

d)

A set of dictionary entries

19.

Which of the following are style properties that can be edited in HTML using the style attribute? Select all that apply.

a)

color:

b)

background-color:

c)

size:

d)

href:

20.

All of the following are good ways to specify a blue font color in HTML, EXCEPT for:

a)

color:Blue

b)

color:rgb(0,0,200)

c)

color:#0044BB

d)

color:0R,200B,10G

21.

What is a correct way to specify a font family of Arial for all paragraph elements using a CSS rule?

a)

p{

font-family:Arial;

}

b)

h1{

font-family:Arial;

}

c)

p{

font-style:Arail

}

d)

<h1 style="font-family:Arial;">

22.

What type of CSS selector is the most specific? In other words, what CSS rule overrides any other rules in case of conflict?

a)

Select by ID

b)

Select by Class

c)

Select by Tag

d)

body{

style=override;

}

23.

How do you make a CSS rule for a class named 'alert' and set the font color to Red?

a)

.alert{

color:Red;

}

b)

#alert{

color:Red;

}

c)

alert{

color:Red;

}

d)

@alert{

color:Red;

}

24.

What will the following CSS rules do?

h2{ color:Blue; }

.subtitle{ color:Green; }

a)

All the h2 tags will be blue font and all the subtitle tags will be green font

b)

All the h2 tags will be blue font unless they are labeled with a subtitle class. All elements labeled with a subtitle class will be green font

c)

All the elements with the class subtitle will be green font except for the h2 tags

d)

The webpage background color will be a mixture of blue and green

25.

CSS Rules are specifically placed in the HTML tag called:

a)

<html>

b)

<style>

c)

<body>

d)

<title>

26.

What is the decimal value of the binary number: 10001

a)

17

b)

11

c)

9

d)

10001

27.

What is the correct binary form of the hexadecimal code: B6

a)

1011 0110

b)

1010 0101

c)

1111 1111

d)

1011 0111

28.

Which color code is most likely produce MediumPurple?

a)

rgb(190,0,190)

b)

rgb(100,100,0)

c)

rgb(0,200,200)

d)

rgb(0,0,255)

29.
Which tag defines the visible content of a web document?
a)
<head>
b)
<meta>
c)
<title>
d)
<body>
30.

In HTML, what does the <title> tag do?

a)

Inserts text under an image to indicate the filename of the image

b)

Defines all the metadata for the website

c)

Makes a large bold text heading at the top of the webpage

d)

Places text and an icon in the new tab at the top of the web browser