HTML I — Basic HTML Elements — Question 1
Back to all questionsQuestion 1
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 ?
(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.