Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
16 views4 pages

ICT HTML Handout

ICT HAND OUT

Uploaded by

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

ICT HTML Handout

ICT HAND OUT

Uploaded by

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

ICT HTML Handout (Written, Practical and Viva) Grade 7

MCQs for Written Exam


1. What is the correct syntax to write an HTML comment?
a) <!— Comment --> (Correct)
b) // Comment
c) # Comment
d) /* Comment */
2. What is the effect of the <br> tag?
a) It converts the text within it to bold font.
b) It is used to write black-colored font.
c) It is used for line-break. (Correct)
d) None of the above.
3. What is the function of the HTML href attribute?
a) It is used to add styles to an HTML element.
b) specifies the URL of the page the link goes to (Correct)
c) Both a) and b).
d) None of the above
4. What is the smallest header in HTML by default?
a) H1
b) H2
c) H6 (Correct)
d) H4
5. What tag is used to render an image on a webpage?
a) img (Correct)
b) src
c) image
d) None of the above
6. Which HTML tag is called the root element of an HTML document?
a) <html> (Correct)
b) <body>
c) <title>
d) <head>
7. Which of the following tag doesn’t require a closing tag?
a) <br> (Correct)
b) <h1>
c) Both a) and b)
d) None of the above
8. Which of the following is true about HTML tags?
a) Are case sensitive
b) Are not case sensitive (Correct)
c) Are in uppercase
d) Are in lowercase
9. Which of the following tags is used to add a row to a table in HTML?
a) <tr> (Correct)
b) <td>
c) <th>
d) None of the above
10. Which of the following tag is used to indicate the page’s start and endpoints?
a) <body>
b) <html> (Correct)
c) <head>
d) <doctype>
11. Which of the following things are necessary to create an HTML page?
a) A text editor
b) Web Browser
c) Both a) and b) (Correct)
d) None of the above
12. Which property allows to show alternative text for an image?
a) alt (Correct)
b) src
c) Alternate
d) None of the above
13. Which property is used to set colors in HTML?
a) color (Correct)
b) background-color
c) font-color
d) text-color
14. How many sizes of headers are available in HTML by default?
a) 5
b) 1
c) 3
d) 6 (Correct)
15. How to create an ordered list in HTML?
a) <ul>
b) <ol> (Correct)
c) <href>
d) <br>
16. HTML files are saved by default with the extension?
a) .html (Correct)
b) .h
c) .ht
d) None of the above
17. The CSS inside HTML elements used alongside style attribute is called?
a) Inline CSS (Correct)
b) Internal CSS
c) External CSS
d) None of the above
18. We enclose HTML tags within?
a) { }
b) < > (Correct)
c) ! !
d) None of the above
19. What are the attributes used to change the size of an image?
a) Width and height (Correct)
b) Big and small
c) Top and bottom
d) None of the above
20. What does the abbreviation HTML stand for?
a) HyperText Markup Language (Correct)
b) HighText Markup Language
c) HyperText Markdown Language
d) None of the above

Questions for Written Exam & Viva


1. What does HTML stands for?
HTML stands for HyperText Markup Language.
2. What are HTML tags?
HTML tags are the building blocks of HTML. They are used to create elements and structure
content on a web page.
3. What is the basic structure of an HTML document?
An HTML document has a defined structure that includes the following elements:
 <!DOCTYPE html>: Declares the document type and version of HTML.
 <html>: The root element of the document.
 <head>: Contains meta-information about the document, such as the title and links to
stylesheets.
 <title>: Specifies the title of the document, displayed in the browser’s title bar.
 <body>: Contains the content of the document, such as text, images, and other elements.
4. What are attributes in HTML?
Attributes provide additional information about HTML elements.
For example, in <a href=”https://www.example.com”>Link</a>, href is an attribute specifying
the URL of the link.
5. How do you create a hyperlink in HTML?
To create a hyperlink, use the <a> (anchor) tag with the href attribute specifying the URL:
<a href="https://www.example.com">Visit Example</a>
6. What is the purpose of the <img> tag in HTML?
The <img> tag is used to embed images in an HTML document. It is a self -closing tag and
requires the src attribute to specify the image source:
<img src="image.jpg" alt="Description of image">
7. How do you create a list in HTML?
HTML supports two types of lists:
Ordered List: Creates a numbered list using the <ol> tag.
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
Unordered List: Creates a bulleted list using the <ul> tag.
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ul>
8. What is the purpose of the <br> tag?
The <br> tag inserts a line break in the text, moving the content after the tag to a new line
9. What is the purpose of comment in HTML?
Comments are used to leave notes or explanations within the code. Comments are also
used to hide context.

Note: (For practical/viva)


 Do preparation for practical with the help of this handout, online resource ->
www.w3schools.com and use Notepad as texteditor.
 You can find all topics mentioned in syllabus on w3schools’s website.(For reference)
 We have covered and practiced all topics in ICT Lab.
 Prepare all above MCQs and short questions for viva.

Best of luck for Final Exam 

You might also like