ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions
4 marks · HTML page structure
Identify two errors in the HTML code above. The developer of the website decides to include metatags. State the purpose of metatags. State where in the code the metatags should be inserted. A website containing information about different countries is being created. Part of the HTML code is shown below. <html> <head> <title><h1>Countries</h1></title> <head> <body> <h1> Welcome to countries of the world!</h1> <p1>Countries in Europe</p1> <p align = centre> France</p> </body> </html>
• Head tag isn’t closed • H1 tag in head/title • Centre should be center • P1 should be p 1 mark for each bullet point, max 2 marks • To provide a description of the webpage • To provide information to search engine (webcrawlers) • To include key words • To provide information about page creation date/last edit date/author’s details etc 1 mark for any acceptable answer In the head section
Previous question: Higher Computing Science 2016 Question 7 (CfE)
Next question: Higher Computing Science 2016 Question 9 (CfE)