PROGRAM NATIONAL CERTIFICATE IN IT
END OF FEB COURSE TEST STATIC WEBSITE DEVELOPMENT
THEORY(NCIT211-1)
Date 30th, APRIL, 2025
Time
Lecturer Mr. Yiga Moses
Instructions
Attempt all questions
QUESTION ONE
a) Define the term HTML?
b) Why is HTML5 preferred compared to the other versions of HTML
c) State three methods used to add css code to an html webpage?
d) Illustrate the CSS syntax for adding a webpage link
e) What is the difference between cell spacing and cell padding as used in the CSS?
(20marks)
QUESTION TWO
a) Explain the term selector as applied to CSS styles
(2marks)
b) Illustrate with an example how CSS attribute functions
(8marks)
c) What are the advantages of using CSS in an HTML file?
(2marks)
d) Describe how a background image is added using CSS to an HTML Web page
e) Given the tag <p> in an HTML web page write an internal CSS applying the following properties
to the tag
(6marks)
Font color: blue
Font weight: bold
Font family: Times new Roman
QUESTION THREE
a) List two HTML elements that could be used to change the color of a selected word while leaving
the rest untouched.
(2marks)
b) Study the HTML code below and use it to answer the questions that follow
<div class =”wrapper”>
<p><span class =”first”>T</span> this is some text with in a div with a class of wrapper. </p>
</div>
c) Write the output and explain what will happen to appearance of the text above when the CSS
code below is applied.
(5marks)
Wrapper.first{
Font size:200px;
Font weight:bold;
}
d) Write the css code the will apply the background image to the above code. Assume any image
name. Resize the image to cover all the sections.
(6marks)
e) Write the CSS code the changes the current case to Upper Case and apply font color khaki.
(4 marks)
f) List three units of measurement that can be used when resizing the font.
(3marks)
BEST OF LUCK
END