R4RIN
Articles
Java 8
MCQS
HTML MCQ Quiz Hub
HTML Mcq Question Set 1
Choose a topic to test your knowledge and improve your HTML skills
1. A webpage displays a picture. What??? ??tag ?????was used to display that picture?
picture
image
.img
src
2. <b> tag makes the enclosed text bold. What is other tag to make text bold?
&lt;strong&gt;
&lt;dar&gt;
&lt;black&gt;
&lt;emp&gt;
3. Tags and text that are not directly displayed on the page are written in _____ section.
&lt;tittle&gt;
&lt;head&gt;
&lt;tittle&gt;
&lt;body&gt;
4. Which tag inserts a line horizontally on your web page?
&lt;hr&gt;
&lt;line&gt;
&lt;line direction=&quot;horizontal&quot;&gt;
&lt;tr&gt;
5. What should be the first tag in any HTML document?
&lt;head&gt;
&lt;tittle&gt;
&lt;tittle&gt;
&lt;document&gt;
6. Which tag allows you to add a row in a table?
&lt;td&gt; and &lt;/td&gt;
&lt;cr&gt; and &lt;/cr&gt;
&lt;th&gt; and &lt;/th&gt;
&lt;tr&gt; and &lt;/tr&gt;
7. How can you make a bulleted list?
&lt;list&gt;
&lt;nl&gt;
&lt;ul&gt;
&lt;ol&gt;
8. How can you make a numbered list?
&lt;dl&gt;
&lt;ol&gt;
&lt;list&gt;
&lt;ul&gt;
9. How can you make an e-mail link?
&lt;a href=”xxx@yyy ”&gt;
&lt;mail href=”xxx@yyy ”&gt;
&lt;mail&gt;xxx@yyy &lt;/mail&gt;
&lt;a href=”mailto:xxx@yyy ”&gt;
10. What is the correct HTML for making a hyperlink?
&lt;a href=”http:// mcqsets.com“&gt;ICT Trends Quiz&lt;/a&gt;
&lt;a name=”https://mcqsets.com“&gt;ICT Trends Quiz&lt;/a&gt;
&lt;https://mcqsets.com&lt;/a&gt;
url=”https://mcqsets.com“&gt;ICT Trends Quiz
11. Choose the correct HTML tag to make a text italic
&lt;ii&gt;
&lt;italics&gt;
&lt;italic&gt;
&lt;i&gt;
12. Choose the correct HTML tag to make a text bold?
&lt;b&gt;
&lt;bold&gt;
&lt;bb&gt;
&lt;bld&gt;
13. What is the correct HTML for adding a background color?
&lt;body color=”yellow”&gt;
&lt;body bgcolor=”yellow”&gt;
&lt;background&gt;yellow&lt;/background&gt;
&lt;body background=”yellow”&gt;
14. Choose the correct HTML tag for the smallest size heading?
&lt;heading&gt;
&lt;h6&gt;
&lt;h1&gt;
&lt;head&gt;
15. What is the correct HTML tag for inserting a line break?
&lt;br&gt;
&lt;lb&gt;
&lt;break&gt;
&lt;newline&gt;
16. What doesvlink attribute mean?
visited link
virtual link
very good link
active link
17. Which attribute is used to name an element uniquely?
class
id
dot
18. Which tag creates a check box for a form in HTML?
&lt;checkbox&gt;
&lt;input type=&quot;checkbox&quot;&gt;
&lt;input=checkbox&gt;
&lt;input checkbox&gt;
19. To create a combo box (drop down box) which tag will you use?
&lt;select&gt;
&lt;list&gt;
&lt;input type=&quot;dropdown&quot;&gt;
all of above
20. Which of the following is not a pair tag?
&lt;p&gt;
&lt; u &gt;
&lt;i&gt;
&lt;img&gt;
21. To create HTML document you requirea
web page editing software
High powered computer
Just a notepad can be used
None of above
22. The special formatting codes in HTML document used to present contentare
tags
attributes
values
None of above
23. HTML documents are saved in
Special binary format
Machine language codes
ASCII text
None of above
24. Some tags enclose the text. Those tags are known as
Couple tags
Single tags
Double tags
Pair tags
25. The _____ character tells browsers to stop tagging the text
?
/
&gt;
%
26. In HTML document the tags
Should be written in upper case
should be written in lower case
should be written in propercase
can be written in both uppercase or lowercase
27. Marquee is a tag in HTML to
mark the list of items to maintaininqueue
Mark the text so that it is hidden in browser
Display text with scrolling effect
None of above
28. There are ____ different of heading tags in HTML
4
5
6
7
29. To create a blank line in your web page
press Enter two times
press Shift + Enter
insert &lt;BR&gt; tag
insert &lt;BLINE&gt;
30. Which of the following is not a style tag?
&lt;b&gt;
&lt;tt&gt;
&lt;i&gt;
All of above are style tags
31. The way the browser displays the object can be modified by ___
attributes
parameters
modifiers
None of above
32. Which of the following HTML code is valid?
&lt;font colour=&quot;red&quot;&gt;
&lt;font color=&quot;red&quot;&gt;
&lt;red&gt;&lt;font&gt;
All of above are style tags
33. Which of the following is an attribute related to font tag?
size
face
color
All of above are style tags
34. HTML supports
ordered lists
unordered lists
both type of lists
does not support those types
35. What tag is used to list individual items of an ordered list?
LI
OL
UL
None of above
36. When should you use path along with file name of picture in IMG tag?
path is optional and not necessary
when the location of image file andhtml file are different
when image file and html file both are on same location
path is always necessary when inserting image
37. Which of the following is not a valid alignment attribute?
Left
Right
Top
All of above
38. Which attribute is used withimg tag to display the text if image could not load in browser?
description
name
alt
id
39. Which attribute can be used with BODY tag to set background color green?
background=&quot;green&quot;
bgcolor=&quot;green&quot;
vlink=&quot;green&quot;
None of above
40. Which attribute you’ll use with TD tag to merge two cells horizontally?
merge=colspan2
rowspan=2
colspan=2
merge=row2
41. Awebpage displays a picture. What tag was used to display that picture?
picture
mage
.img
src
42. <b> tag makes the enclosed text bold. What is other tag to make text bold?
&lt;strong&gt;
&lt;dar&gt;
&lt;black&gt;
&lt;emp&gt;
43. Tags and test that are not directly displayed on the page are written in _____ section.
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;
&lt;body&gt;
44. Which tag inserts a line horizontally on your web page?
&lt;hr&gt;
&lt;line&gt;
&lt;line direction=&quot;horizontal&quot;&gt;
&lt;tr&gt;
45. What should be the first tag in any HTML document?
&lt;head&gt;
&lt;title&gt;
&lt;html&gt;
&lt;document&gt;
46. Which tag allows you to add a row in a table?
&lt;td&gt; and &lt;/td&gt;
&lt;cr&gt; and &lt;/cr&gt;
&lt;th&gt; and &lt;/th&gt;
&lt;tr&gt; and &lt;/tr&gt;
47. How can you make a bulleted list?
&lt;list&gt;
&lt;nl&gt;
&lt;ul&gt;
&lt;ol&gt;
48. How can you make a numbered list?
&lt;dl&gt;
&lt;ol&gt;
&lt;list&gt;
&lt;ul&gt;
49. How can you make an e-mail link?
&lt;a href=&quot;xxx@yyy &quot;&gt;
&lt;mail href=&quot;xxx@yyy &quot;&gt;
&lt;mail&gt;xxx@yyy &lt;/mail&gt;
&lt;a href=&quot;mailto:xxx@yyy &quot;&gt;
50. Choose the correct HTML tag to make a text italic
&lt;ii&gt;
&lt;italics&gt;
&lt;italic&gt;
&lt;i&gt;
Submit