Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Summative Examination for Elective 8

1. What does HTML stand for?


a. Hyper Tool Markup Language

b. Hyperlinks and Text Markup Language

c. Home Tool Markup Language

d. Hypertext Markup Language

2. Which tag is used to define the title of an HTML document?

a. <header>

b. <h1>

c. <title>

d. <head>

3. Which tag is used to insert an image in HTML?

a. <img>

b. <src>

c. <image>

d. <picture>

4. How can you create a hyperlink in HTML?

a. <a url=”link”>Link</a>

b. <a href=”link”>Link</a>

c. <link href=”link”>Link</link>

d. <anchor href=”link”>Link</anchor>

5. Which tag is used to define a paragraph in HTML?

a. <p>

b. <par>

c. <para>

d. <text>
6. What does the <br> tag represent in HTML?

a. Bold text

b. Line break

c. Break tag

d. Paragraph break

7. Which attribute is used to specify the source URL of an element in HTML?

a. src

b. href

c. link

d. url

8. Which tag is used to create an unordered list in HTML?

a. <ol>

b. <li>

c. <ul>

d. <list>

9. Which tag is used to define a table in HTML?

a. <table>

b. <tb>

c. <tr>

d. <tab>

10. Which attribute is used to define the color of text in HTML?

a. text-color

b. color

c. font-color

d. text-style
11. Which tag is used to make text bold in HTML?

a. <strong>

b. <b>

c. <bold>

d. <text>

12. What is the correct way to add a comment in HTML?

a. <!—This is a comment

b. //This is a comment//

c. /**This is a comment**/

d. ‘’This is a comment’’

13. Which tag is used to define a hyperlink in HTML?

a. <link>

b. <anchor>

c. <a>

d. <href>

14. What does the <head> tag represent in HTML?

a. Document body

b. Document title

c. Document header

d. Document footer

15. Which attribute is used to specify the alternative text for an image in HTML?

a. alt

b. text

c. description

d. image

16. How can you create a line break without starting a new paragraph in HTML?
a. <lb>

b. <break>

c. <line-break>

d. <br>

17. Which tag is used to define a level one heading in HTML?

a. <h1>

b. <heading>

c. <h>

d. <head>

18. What is the correct way to define a button in HTML?

a. <button>

b. <input type=”button”>

c. <btn>

d. <input type=”submit”>

19. Which tag is used to define a division or a section in HTML?

a. <div>

b. <section>

c. <division>

d. <seg>

20. Which attribute is used to specify the width of an image in HTML?

a. size

b. width

c. height

d. image-width
Answer Key (Always review AI generated answers for accuracy – Math is more likely to be inaccurate):

You might also like