[go: up one dir, main page]

0% found this document useful (0 votes)
5 views2 pages

Internet Prog Special 2017

This document outlines the structure and content of a special/re-take exam for the Internet Programming course at The East African University. It includes various questions on HTML concepts, syntax, and elements, requiring definitions, code writing, and explanations of specific tags and attributes. The exam is designed to assess students' understanding of web page structure and HTML functionalities.

Uploaded by

teddyaseto2000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Internet Prog Special 2017

This document outlines the structure and content of a special/re-take exam for the Internet Programming course at The East African University. It includes various questions on HTML concepts, syntax, and elements, requiring definitions, code writing, and explanations of specific tags and attributes. The exam is designed to assess students' understanding of web page structure and HTML functionalities.

Uploaded by

teddyaseto2000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

THE EAST AFRICAN UNIVERSITY

SCHOOL OF COMPUTER SCIENCE

COURSE UNIT : INTERNET PROGRAMMING

COURSE CODE : CIT 2201


SESSION : SEP- DEC 2017, SPECIAL/RETAKE EXAM
TIME : 2HRS

INSTRUCTIONS:
Question one is compulsory.Attempt any other two questions
QUESTION ONE

a. Define the following terms: (14 marks)


i. HTML
ii. HTTP
iii. Markup Language
iv. Syntax
v. Tag
vi. Element
vii. Browser
b. Write the syntax of a HTML web page structure. (6 marks)
c. Describe the purposes of the following tags/ element (10 marks)
i. <body>
ii. <html>
iii. <head>
iv. <h1>
v. <p>

QUESTION TWO

a. Define HTML attribute. (2 marks)


b. Identify two attributes of the <img> element and explain what they are used for. (4 marks)
c. Write a full HTML web page with a heading, paragraph and a text link required to link to
the site www.teau.ac.ke where the page is:
i. Opened in the same web page (4 marks)
ii. Opened in another tab or window (4 marks)
d. Describe two HTML elements used in the <head> and their purposes. (4 marks)
e. Explain why a DOCTYPE is a useful thing to include in a web page. (2 marks)

QUESTION THREE

a. Define hyperlink. (2 marks)


b. Write an HTML webpage code that will display a heading, paragraph and an image link. (8
marks)
c. Describe any five text formatting elements used in HTML. (10 marks)
QUESTION FOUR

a. Write an HTML webpage code to display an ordered list of the following fruit items:
bananas, apples, mangoes, citrus. (10 marks)
b. Describe the purpose of the type attribute in HTML lists. (2marks)
c. Describe the purposes of the src and alt attributes in displaying HTML images in
webpages. (4 marks)
d. Describe the purpose of the HTML <meta> tag (2 marks)
e. Define HTML comment. (2 marks)

QUESTION FIVE

a. Define HTML table. (2 marks)


b. Define the purposes of the following HTML table tags (6 marks)
i. <table>
ii. <tr>
iii. <td>
c. Write an HTML webpage code that will display a table with three columns and three rows
with data in the table cells. (12 marks)

You might also like