Professional Documents
Culture Documents
Prog1009 Quiz1 2023
Prog1009 Quiz1 2023
Prog1009 Quiz1 2023
PROG1009
Quiz – 25%
6. What does HTML stand for and what is the primary use of this language?
[4 mks]
HTML stands for hypertext markup language and it is used for designing websites by
changing its look through programming text on a document.
7. Write the HTML page structure including the Heading 1 tag and a paragraph
tag. [10 mks]
<html>
<header>
<Title>
</header>
<body>
<h1> <h1/>
<p>
</p>
</body>
</html>
8. What is the correct HTML for creating a hyperlink? [1 mk]
a. <a url="http://www.google.com">Google.com</a>
b. <a>http://www.google.com</a>
c. <aname="http://www.google.com">Google.com</a>
d. <a href="http://www.google.com">Google</a>
10. What is the correct HTML for making a text input field? [1 mk]
<input type = “text”>
12. Put in the appropriate end tags for the lines below:
The two table headers should have the value "Name" and "Age".
<table>
<tr>
<td>Will Smith</td>
<td>50</td>
</tr>
</table>
14. In the form below, add two radio buttons, both with the
name "gender". [4 marks]
<form>
< value="male"> Male
15. In the form below, add an input field with the type "button"
and the value "OK". [3 marks]
<form>
< >
</form>
Total: 60 marks