This page presents the fresh MCQ Questions for the chapter – Tags Attributes and Elements from HTML Tutorial Series Post #3. The correct answers will be given in next session MCQ Question page. You can follow the discussion about this preparation series in ICT Trends (/website-designing/)
Previous MCQ Sets:
Post #1. – MCQ Questions for Getting Started
Post #2. – MCQ Questions for HTML Document Structure
Tags Attributes & Elements MCQ Questions
You can click the following link to visit tutorial page of
HTML Tags, Attributes and Elements
Questions
1. HTML tags are marked by
a. Greater than sign and less than sign
b. Angle brackets
c. Greater than signs
d. Less than signs
2. Opening tags are marked by
a. forward slash
b. backward slash
c. Both of above
d. None of above
3. An element is marked ended by
a. An opening tag
b. A closing tag
c. The content
d. All of above
4. The element content is written
a. In between opening and closing tags
b. Just before the opening tag
c. Immediately after the closing tag
d. Anywhere in HTML document
5. The HTML document title is defined using
a. <head> </head> tags
b. <h1> </h1> tags
c. <title> </title> tags
d. All of above
6. Which of the following is true?
a. Every tag has it’s closing tag but it’s not mandatory
b. Every tag don’t have closing tag but there’s XHTML way to close it
c. HTML is so flexible that you can create your own tags
d. None of above
7. Which of the following is not a single tag?
a. <p> tag
b. <br> tag
c. <hr> tag
d. <img> tag
8. If a tag has its corresponding closing tag, such tags are called,
a. single tag
b. paired tags
c. self-closing
d. None of above
9. Which of the following is an example of self-closing tag?
a. <br>
b. <p> </p>
c. <hr />
d. All of above
10. Self-closing tag are the remnant method of another markup language
a. HTML 4
b. HTML 3
c. HTML 5
d. XHTML
11. Which of the following is based on XML markup language?
a. XML
b. XGML
c. XHTML
d. HXML
12. While you write html document in HTML 5 which of the following method is better to follow?
a. <br> is better than <br />
b. <br /> is better than <br>
c. Both <br> or <br /> are fine. It’s just a matter of preference.
d. <br> is fine for HTML 5 but <br /> is not supported anymore
13. Which of the following is true for attributes
a. Attributes are extra bit of information to add to html tags
b. Attributes appear inside the opening tag
c. Attributes are specified in name=value pair format
d. All of above
14. Which of the following tag displays a horizontal line in HTML page?
a. <HL>
b. <HR>
c. <line>
d. <—>
15. Which attribute is used to control the length of <hr> horizontal line?
a. length=value
b. width=value
c. height=value
d. None of above
16. A paragraph can be aligned left, right, center or justified using <p> tag with attribute
a. text-align
b. alignment
c. align
d. text-direction
17. In an HTML code <hr width=300px>,
a. width is attribute
b. 300px is attribute
c. width is the tag
d. None of above
18. Which of the following is NOT true?
a. Attributes are enclosed within double quotes
b. Attributes are enclosed within single quotes
c. You can write attribute values without any quotation marks too
d. You can write attribute values using accent grave (`) too
20. An element can contain
a. Opening tags, content and closing tag
b. Other elements
c. Both of above
d. None of above
Okey, those were the multiple choice questions from HTML tags, attributes and elements chapter. Hope you can answer them all. I’m expecting your answers in the comment below.
Correct Answers of MCQ Questions from HTML Document Structures
1 – c | 2 – b | 3 – b | 4 – a | 5 – b | 6 – c | 7 – c | 8 – a | 9 – c | 10 – b |
11 – b | 12 – c | 13 – d | 14 – a | 15 – a | 16 – b | 17 – a | 18 – a | 19 – d | 20 – a |
MCQ Questions from HTML Document Structures
To find the question set of above correct answers, visit the link below:
https://mcqsets.com/mcq-questions-2/html-web-page-designing/html-elements-2016-co-exam/
Also, you are welcome to participate in Discussion in ICT Trends. We are preparing HTML till 14 of Magh. Visit the link below to visit HTML Discussion
ONKAR AWASTHI says
SIR,CAN U PLZ TELL ME ABOUT COMPETITIVE XAMS RELATED TO COMPUTER APPLICATIONS IN WHICH I CAN APPEAR DURING CLASS 12 OR AFTER 12.
Bishal poudel says
sir
I think ,question no 7 answer should be A not C.