Professional Documents
Culture Documents
Ibp Revision Questions 1
Ibp Revision Questions 1
TIME 2 HOURS
Question 1
Question 2
(6
marks)
Question 3
i) Applet (2 marks)
ii) Web server (2 marks)
b) Outline three ways in which Cascading Style Sheets can be embedded within an HTML
document. (6 marks)
c) Write the HTML code that would be used to insert the following links in a web page.
i) A link to open a page named index when a text HOME is clicked. (3 marks)
ii) A link to open the page www.google.com when a text SEARCH MORE is
clicked. (3 marks)
iii) Display a picture named manager.jpeg when a text VIEW is clicked. (4 marks)
Question 4
a) Write HTML statement that would be used to perform each of the following on a
webpage:
i) Set its background colour to red; (2 marks)
ii) Insert a background picture of an image named tile.gif. (2 marks)
i) Display image named mypic.gif stored in c:/site/myimages on a browser.
(2 marks)
b) Write a HTML code that will display the following list when run in a browser.
(6
marks)
c) Write a JavaScript code embedded in HTML that would prompt a user to enter two
integers. The program should then use a function to compute and display the sum and the
product of the integers. (8 marks)
Question5