Computer Applications
Hamish is creating a website for the Highland Chess League. Part of the HTML for the home page is shown below:
<head>
<title> Highland Chess League </title>
<meta name = "description" content = "The Highland Chess League" />
<meta name = "keywords" content = "chess, league, games, Highland, hobbies" />
</head>
<body>
<div align = "centre">
<p> Welcome to the Highland Chess League Home Page </p>
<p>Play the board <u>not</u> the man </p>
</div>
</body>
(a) The window shown alongside is seen when a browser is used to view the home page. Use the HTML code above to identify the contents displayed in A, B and C.

(b) The meta tag specifies keywords used by spiders of search engines. Where do you provide (inside which tag) the meta information in HTML code ?
Answer
(a) The following contents are displayed in A, B and C :
A — Highland Chess League
B — Welcome to the Highland Chess League Home Page
C — Play the board not the man
Explanation
In A, the content given inside the <title> tag will be displayed.
In B, the content given inside the first <p> tag will be displayed.
In C, the content given inside the second <p> tag will be displayed.
(b) The meta information is provided in the <meta> tag which is enclosed inside the <head> tag.
Related Questions
Which three tags let you create the definition lists ?
Which two tags let you create the
(i) unnumbered lists ?
(ii) numbered lists ?
Consider the following web page:

(a) The text at P is :
- a web address
- a postal address
- an email address
- an office address
(b) To follow a link to find information, the user should click at :
- P
- R
- S
- T
(c) The alignment of text at T is :
- Left
- right
- center
- same as alignment of pointer S
(d) The text at S provides a way to contact Ski Breaks Ltd using :
- fax
- post
- telephone
(e) To use the Internet to find more websites about winter sports, the user should use :
- a book
- an email
- a CD ROM
- a search engine
Text inside paragraphs is displayed.
<HTML> <BODY> <P> This paragraph contains a lot of lines in the source code, but the browser ignores it. </P> <P> This paragraph contains a lot of spaces in the source code, but the browser ignores it. </P> <P> The number of lines in a paragraph depends on the size of your browser window. If you resize the browser window, the number of lines in this paragraph will change. </P> </BODY> </HTML>