HTML in the Content Layer (Cambridge (CIE) IGCSE ICT): Exam Questions

15 mins5 questions
1a2 marks

Absolute and relative file paths are used in the content layer when creating a web page.

Explain the differences between an absolute file path and a relative file path.

1b1 mark

Explain why absolute file paths should not be used for hyperlinks to locally-saved web pages.

Did this page help you?

22 marks

The HTML of a web page consists of a head section and a body section.

The head section can contain the link to the stylesheet.

Identify two other items found in the head section of HTML.

Did this page help you?

32 marks

The HTML of a web page consists of a head section and a body section.

Explain the purpose of the body section of HTML

Did this page help you?

44 marks

Aadhya and her family are planning a visit to the Gir National Park and she is creating a web page about the destination.

She has started writing some of the HTML but has made some mistakes.

<html>
<!-- Visit to Gir National Park -->
<head>
</head>
<title>The Gir National Park</title>
<body>
<table style= "width:100%">
<tbody style="background-color: #9acd32>
<tr>
<td rowspan="2"><img src="GIRNP.JPG" width="50" alt="image of an elephant">
</td>
<td><h1>The Gir National Park</h1>
<h3>A National Park of Gujarat</h3>
</td>
<td ><img scr="GIR-LOGO.JPG" alt="Logo for Gir National Park">
</td>
</tr>
<tr>
<td colspan="2" >This webpage is under construction.
</td>
</tr>
</tbody>
<table>
</body>
</html>

Write down four mistakes which would prevent this markup from working properly. Your answers must be different in each case

Did this page help you?

54 marks

Anchors and hyperlinks are both used in HTML.

Compare an anchor with a hyperlink.

Your answer must include similarities and differences.

Did this page help you?