wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Web Authoring (10th)

Total questions: 50

Worksheet time: 25mins

Name
Class
Date
1.

Rohan has added this line of code to a new site. What will the code do?

a)

insert an image file named ‘logo’ with a description of ‘Company logo’, 100 pixels wide

b)

insert a company logo named img src, 100 pixels wide

c)

insert a logo named img src, 100 pixels wide

d)

insert a background logo, 100 pixels wide

2.

Which line of code will create an external hyperlink to this website?

a)

<a href=“https://www.pearson.com”>Pearson Webpage</a>

b)

<a =“https.pearson.com”>Pearson Webpage</a>

c)

<ext=“https://www.pearson.com”>Pearson Webpage</e>

d)

<a hfer=“https://www.pearson.com”>Pearson Webpage</a>

3.

As the web page develops, anchors are added to the page to aid user experience. Which of the following describes to purpose of an anchor?

a)

To link to a specific point within a web page

b)

To allow images and sound to be added

c)

To format text and images

d)

To embed code from another page

4.

Which of the following lines of HTML correctly allows an image of a wind turbine with a text alternative title to be added to a page?

a)

<img src=“wind_turbine.jpg” alt=“Wind turbine in field”>

b)

<image =“wind_turbine.jpg” name=“Wind turbine in field”>

c)

<photo src=“wind_turbine.jpg” title=“Wind turbine in field”>

d)

<img insert=“wind_turbine.jpg” text=“Wind turbine in field”>

5.

Which of the following HTML formatting commands would be used to place a block of text at the left of a line in Arial?

a)

font-align and font-family

b)

font-style and font-family

c)

font-style and background colour

d)

font-size and font-align

6.

Web pages allow users to access information. The web page will display an image.  Write the HTML code to display this image. Assume that :

a)

<img src="coffeecup.png" style="width:200px; height:300px;"

b)

<img src="coffeecup.jpg" style="width:200px; height:300px;"

c)

<image src="coffeecup.png" style="width:200px; height:300px;"

d)

<img source="coffeecup.png" style="width:200px; height:300px;"

7.

 Add the missing code on lines 3

a)

</title>

b)

<title>

c)

<end title>

d)

</head>

8.

 Add the missing code on lines 4

a)

</title>

b)

<title>

c)

<end title>

d)

</head>

9.

 Add the missing code on lines 13

a)

</title>

b)

</head>

c)

</table>

d)

</body>

10.

Describe the purpose of the HTML Tags used at points A

a)

heading

b)

paragraph

c)

table

d)

title

11.

Describe the purpose of the HTML Tags used at points B

a)

heading

b)

paragraph

c)

table

d)

title

12.

Which of the following lines of HTML correctly allows an image of a wind turbine with a text alternative title to be added to a page?

a)

<img src=“bunaken.jpg” alt=“bunaken”>

b)

<img src=“bunaken.jpg” title=“bunaken”>

c)

<img src=“bunaken.jpg” text=“bunaken”>

d)

<img src=“bunaken.jpg” name=“bunaken”>

13.

Metadata is often added to the HTML of website. State one example of metadata.

a)

<meta name="author" content="Derren Jones">

b)

<img src=“metadata.jpg” alt=“Metadata”>

c)

<metadata name="keywords" content="Puhua, Pearson">

d)

<head> <title> Meta </title> </head>

14.

Which of the following HTML formatting commands would be used to place a block of text at the left of a line in bold?

a)

font-align and font-family

b)

font-style and font-family

c)

font-align and font-style

d)

font-size and font-align

15.

Which of the following describes to purpose of an anchor?

a)

To link to a specific point within a web page

b)

To allow images and sound to be added

c)

To format text and images

d)

To embed code from another page

16.

What is the purpose of adding metadata to a web page?

a)

To give additional data about a web page

b)

To create a clickable link for the user

c)

To link from one part of a page to another

d)

To create a new paragraph

17.

What is the purpose of adding an internal bookmark to a web page?

a)

To link from one part of a page to another

b)

To give a description of the site

c)

To give additional data about a web page

d)

To create a new paragraph

18.

In addition to text, state other types of media added to web sites.

a)

image

b)

bookmark

c)

font

d)

background

19.

Choose the correct HTML element to define important text

a)

<strong>

b)

<em>

c)

<u>

d)

<p>

20.

Where would the ˂title˃...˂/title˃ tags appear in a HTML file?

a)

within the head section

b)

within the body section

c)

as the first line to let the browser know that it is an HTML file

d)

within the footer section

21.

Use the correct HTML tag to add a paragraph with the text "Hello World!".

a)

<p> Hello World!</p>

b)

<p> Hello World!

c)

<h1> Hello World!</h1>

d)

<strong> Hello World!</strong>

22.

Explain what the <tr> tags are used for:

a)

used to create a table row

b)

used to create a cell within a row

c)

used to create a table

d)

used to create a data

23.

Explain what the <td> tags are used for:

a)

used to create a table row

b)

used to create a cell within a row

c)

used to create a table

d)

used to create a data

24.

Use the correct HTML to make the image become a link to "default.html".

a)

<a href="default.html">

<img src="smiley.gif">

</a>

b)

<link="default.html">

<img src="smiley.gif">

</link>

c)

<img src="smiley.gif">

<a href="default.html"></a></img>

d)

<img src="smiley.gif" href="default.html">

25.

Describe how the use of ‘Alt text’ supports users with poor internet connections

a)

These describe the image when it cannot be displayed

b)

Increase amount of data downloaded

c)

In order to decrease loading times

d)

Provides a description of web page

26.

Use the correct HTML attribute, and CSS, to set the color of the paragraph to "blue".

a)

<p style="color:blue;">This is a paragraph.

</p>

b)

<p>

<style="color:blue;">This is a paragraph.

</p>

c)

<p "color:blue;">

This is a paragraph.

</p>

d)

<p> <"color:blue;">

This is a paragraph.

</p>

27.

Write the HTML using a text editor to create a web page like this:

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<h1> Hello World! </h1>

<p>This is my first HTML page</p>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<h1> Hello World! </h1>

<p>This is my first HTML page</p>

</html>

c)

<!DOCTYPE html>

<html>

<body>

<h1> Hello World! </h1>

<p>This is my first HTML page</p>

</body>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<p> Hello World! </p>

<p>This is my first HTML page</p>

</body>

</html>

28.

Write the HTML using a text editor to create a web page like this:

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<table>

<tr><th>Feb</th><th>March</th></tr>

<tr><td>12</td><td>11</td></tr>

</table>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<table>

<td><tr>Feb</tr><tr>March</tr></td>

<td><tr>12</tr><tr>11</tr></td>

</table>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<table>

<tr><td>Feb</td><td>March</td></tr>

<tr><td>12</td><td>11</td></tr>

</table>

</body>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<table>

<body>

<tr><th>Feb</th><th>March</th></tr>

<tr><td>12</td><td>11</td></tr>

</body>

</table>

</html>

29.

HTML is used to structure web pages.

This picture shows some HTML code.

Explain the purpose of the HTML code on line 3.

a)

the user will be taken to booking.html when they click the image

b)

the user will be taken to the image when they click booking.html

c)

the user will be taken to booking.html when they click "BOOKING"

d)

the user will be taken to the image when they click the image

30.

Which HTML element defines the title of a document?

a)

<title>

b)

<meta>

c)

<head>

d)

<body>

31.

Which doctype is correct for HTML5?

a)

<!DOCTYPE html>

b)

<!DOCTYPE HTML5>

c)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">

d)

<!DOCTYPE>

32.

Which line of code will create an external hyperlink to this website?

a)

<a href="https://www.pearson.com">Pearson Webpage</a>

b)

<ext="https://www.pearson.com">Pearson Webpage</a>

c)

<a="https://www.pearson.com">Pearson Webpage</a>

d)

<a hrf="Pearson Webpage">https://www.pearson.com</a>

33.

Choose the correct HTML element for the largest heading:

a)

<h1>

b)

<h5>

c)

<heading>

d)

<head>

34.

Write the HTML using a text editor to create a web page like this:

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<h1> <u> All about Pluto </u> </h1>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<h1> All about Pluto </h1>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<h1> <em> All about Pluto </em> </h1>

</body>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<h1> <em> <u> All about Pluto </u> </em> </h1>

</body>

</html>

35.

Write the HTML using a text editor to create a web page like this:

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<p>There are 8 planet </p>

<p> <em> Pluto is classified </em> </p>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<p>There are 8 planet </p>

<em> Pluto is classified </em>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<p>There are 8 planet </p>

<p> Pluto is classified </p>

</body>

</html>

d)

<!DOCTYPE html>

<html>

<head>

<p>There are 8 planet </p>

<p> <em> Pluto is classified </em> </p>

</head>

<body></body>

</html>

36.

What is the correct HTML for creating a hyperlink?

a)

<a href="http://www.jungle.com">Jungle</a>

b)

<a> http://www.jungle.com </a>

c)

<a name="http://www.jungle.com">Jungle</a>

d)

<a> href=http://www.jungle.com </a>

37.

What is the correct HTML for inserting an image?

a)

<image src="image.png" alt="MyImage">

b)

<img src="image.png" alt="MyImage">

c)

<img alt="MyImage">image.png</img>

d)

<img href="image.png" alt="MyImage">

38.

Emphasize the word "metropolitan" in the text below.

a)

<u> </u>

b)

<strong> </strong>

c)

<em> </em>

d)

<p> </p>

39.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

Home Tool Markup Language

c)

Hyperlinks and Text Markup Language

d)

Hyper Text Model Language

40.

What is the correct HTML for adding a background color for web page?

a)

<body background-color:yellow >

b)

<background>yellow</background>

c)

<body bg="yellow">

d)

<body style="background-color:yellow;">

41.

Which character is used to indicate an end tag?

a)

/

b)

<

c)

*

d)

"

42.

Which of these elements are all <table> elements?

a)

<table><tr><tt>

b)

<table><tr><td>

c)

<thead><tr><body>

d)

<head><table><body>

43.

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

a)

longdesc

b)

src

c)

alt

d)

title

44.

Use the correct HTML attribute to make the first TH element span two columns.

a)

colspan = "2"

b)

rowspan = "2"

c)

border = "2"

d)

merge = "2"

45.

Write the HTML using a text editor to create a web page like this:

a)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<img src="youngfemale.png" alt="Young female">

<h1>Young female athletes need ...</h1>

<p>Britain's mountain bike ...</p>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<img alt="youngfemale.png" src="Young female">

<h1>Young female athletes need ...</h1>

<p>Britain's mountain bike ...</p>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<img src="youngfemale" alt="Young female">

<h1>Young female athletes need ...</h1>

<p>Britain's mountain bike ...</p>

</body>

</html>

d)

<!DOCTYPE html>

<html>

<head>

</head>

<body>

<img src="youngfemale.png" alt="Young female">

<h1>Young female athletes need ...

<p>Britain's mountain bike ...</h1></p>

</body>

</html>

46.

The following tag indicates...

<!Doctype html>

a)

a document is created

b)

a document is closed

c)

end of a paragraph

d)

a document is opened

47.

What is the function of the tag below?

<title> this tag </title>

a)

show the server how to title the website

b)

show the server how to index the website

c)

store meta information about the title

d)

stores the title of the website for the browser and search engine results

48.

What is an HTML element?

a)

content inside body tag

b)

start tag and an end tag, with content in between

c)

everything which  is visible when viewing the site

d)

everything inside the head tag

49.

HTML tags are always surrounded by

a)

( )

b)

< >

c)

{ }

d)

"  "

50.

This tag tells the browser what to display as the page title at the top and tells search engines what the title of your site is.

a)

Body

b)

Heading

c)

Title

d)

HTML