Home
MCQS
HTML MCQ Quiz Hub
HTML . MCQ SET 1
Choose a topic to test your knowledge and improve your HTML skills
1. HTML stands for?
Hyper Text Markup Language
High Text Markup Language
Hyper Tabular Markup Language
None of these
2. Which of the following attributes of text box control allow to limit the maximum character?
size
len
maxlength
All of the above
3. The attribute, which define the relationship between current document and HREF'ed URL is
REL
URL
REV
None of the above
4. Which of the following options is correct with regard to HTML?
It is a modelling language
It is a DTP language
It is a partial programming language
It is used to structure documents
5. When trying to access a URL, the following message is displayed on the browser: Server Error 403 What could be the reason for the message?
The requested HTML file is not available
The URL refers to a CGI script and the header of the script does not indicate where the interpreter is located
The path to the interpreter of the script file is invalid
The requested HTML file or CGI script has insufficient permission
6. HTML is considered as _________ language.
Higher Level Language
Markup Language
OOP Language
Programming Language
7. HTML markup language is a set of Markup ___________.
Tags
Attributes
Groups
Sets
8. A webpage displays a picture. What tag was used to display that picture?
picture
image
img
src
9. The special formatting codes in HTML document used to present conten tare
tags
attributes
values
None of above
10. There are ____ different of heading tags in HTML.
4
5
6
7
11. HTML supports
ordered lists
unordered lists
both of the above
None of the above
12. Which of the following selector matches a particular element only when it lies inside a particular element?
The Type Selector
The Descendant Selector
The Universal Selector
The Class Selector
13. Which of the following property is used to increase or decrease how bold or light a font appears?
font-family
font-style
font-variant
font-weight
14. Which of the following is correct about Hex Code format of CSS colors?
The first two digits(RR) represent a red value.
The next two are a green value(GG).
The last are the blue value(BB).
All of the above
15. Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?
%
cm
em
ex
16. Which of the following property is used as a shorthand to specify a number of other background properties?
background-attachment
background
background-repeat
background-position
17. Which of the following property is used to set the opacity of an image?
border
height
width
moz-opacity
18. Which of the following property specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker of a list?
list-style-type
list-style-position
list-style-image
list-style
19. The language used for creating web pages
HyperText Machine Language
HyperText Markup Language
HyperText Makeup Language
HyperText Manage Language
20. Name the section at the top of the document used to place the name, page number etc. :
Header
Web Layout
Footer
Hyperlink
21. HTML is basically used to design
Database
Graphics
Tables and Frames
Web-page
22. Pseudo-classes are used to represent ___________________.
Static Events
Dynamic Events
Related Events
Casual Events
23. Which of the following is used to represent Visited hyperlink.
:visited
:clicked
:focus
:link
24. Which of the following is used to represent unvisited hyperlink.
:link
:nonvisited
:unvisited
:fresh
25. We write single ______ before the pseudo-class property.
Colon
Dot
Hash
Semicolon
26. Element that Currently has the user’s mouse pointer hovering over it represents one of the following Pseudo Class.
:hover
:hovar
:focus
:gotfocus
27. Currently clicking and holding down the mouse button on represents ___________ pseudo class.
a:link
a:visited
a:active
a:hover
28. Which property is used to specify typefaces ?
font-family
font-name
font-face
font-type
29. How many type faces inside property "font-family" ?
1
Maximum 2
No Limit
Maximum 3
30. Fonts such as Times New Roman which have spaces in between must be wrapped inside ______ .
Quotation Mark
Round Brackets
Triangular Brackets
Curly Braces
31. Which of the following fonts are Generic Fonts ?
Cursive
Serif
Monospace
All of the above
32. Courier / Courier New" resembles following generic font family -
monospace
serif
cursive
fantasy
33. Multiple font faces are separated by __________ .
Semicolon
Comma
Dot
Slash
34. A group of font families with a similar look -
Generic Families
Cluster Families
Node Families
Grouped Families
35. In Descendant Selector , style is applied to element based on ________ .
whether element have sub element or not
whether element have only 2 sub elements or not
whether element is of particular type or not
None of These
36. Following Style is applied to - div.wrapper h2 { font-size: 18px; margin-top: 0; }
Type 2 Heading inside Element div of class wrapper
Type 2 Heading inside Element div with id wrapper
Type 2 Heading inside Element div of any class
None Of These
37. HTML tags are used to describe document ___________.
Content
Definition
Language
None of these
38. HTML Document can contain ______________.
Attributes
Tags
Plain Text
All of these
39. Page Designed in HTML is called as ________.
Front Page
Yellow Page
Server Page
Web Page
40. HTML program is saved using ____________ extension.
.htnl
.htl
.hml
.html
41. HTML program can be read and rendered by _________.
Compiler
Web Browser
Server
Interpreter
42. Which of the following is not an example of browser ?
Netscape Navigator
Opera
Mozilla Firefox
Microsoft's Bing
43. Who was the primary author of HTML (Hyper Text Markup Language) ?
Brendan Eich
Tim Berners-Lee
Google Inc.
Sabeer Bhatiya
44. HTML was firstly proposed in year _______.
1995
1990
2000
1980
45. HTML tags are surrounded by __________ brackets.
Square
Round
Angle
Curly
46. Opening Tag of HTML Tag is called as __________.
Ending Tag
Closed Tag
Starting Tag
Forward Tag
47. Which of the following tag is used to link the URL ?
<a>
<style>
<link>
<hyperlink>
48. Link URL in HTML is specified using __________ attribute.
src
href
link
rel
49. Following tag Stands for - <a>
Active Tag
Action Tag
Anchor Tag
Additional Tag
50. Value of Attribute "href" is also called as __________ of the Destination Web Page.
URM
URL
URK
URS
51. Link in HTML can be of following type(s).
Visited
Active
Unvisited
All are the Types of Links
52. Default Style and Color of Unvisited Link in any browser is ____________.
Normal and Blue
Underline and Pink
Underline and Magento
Underlined and Blue
53. Visited Link in Mozilla Firefox is Generally shown in __________ Color.
Brown
Purple
Blue
Red
54. Default color of active link in browser is ____________.
red
blue
green
brown
55. A linked page using anchor tag is normally displayed in the ____________
New Window
Current Window
New Tab
None of these
56. _________ attribute is used to specify , where to open the linked document.
target
coords
rel
pos
57. Which of the Anchor Attribute is used to specify the language of the linked document ?
alang
lang
hreflang
None of these
58. Relationship Between the Current document and the Linked document is specified using ___________ attribute.
href
relation
rel
target
59. Which of the following is used to open document in new window ?
&lt;a target=&quot;_self&quot;&gt;Link&lt;/a&gt;
&lt;a target=&quot;_blank&quot;&gt;Link&lt;/a&gt;
&lt;a target=&quot;_blank&quot;&gt;Link&lt;/a&gt;
&lt;a target=&quot;_parent&quot;&gt;Link&lt;/a&gt;
60. _______ attribute is used to specify MIME type of linked document ?
Rev Attribute
Type Attribute
Media Attribute
MIME Attribute
61. _________ attribute specifies what media/device the linked document is optimized for ?
device
media
name
href
62. Default attribute value of "target" is ______________ in HTML.
_top
_blank
_self
_parent
63. HTML Links can be styled using ___________.
CSS
JavaScript
XML
PHP
64. Which is largest Heading tag ?
H3
H4
H2
H1
65. _________ defines the most important heading ?
H1
H4
H6
H2
66. For Showing heading in HTML web page we use ____________ tag.
Strong
Article
Paragraph
Heading
67. Which is smallest Heading Tag ?
H3
H5
H6
H4
68. In HTML we have _________ type of heading tags.
7
4
6
5
69. __________ automatically add some empty space (a margin) before and after each heading.
Browser
Interpreter
Server
Compiler
70. Which of the Style is applied to the H1 heading by default ?
Italic
Bold and Underline
Bold
Underline
71. Which tag is used to divide the HTML document into the paragraphs ?
paragraph
par
para
P
72. Text written inside the following pair of tags is considered as paragraph.
&lt;p&gt;&lt;/p&gt;
&lt;paragraph&gt;&lt;/paragraph&gt;
&lt;para&gt;&lt;/para&gt;
None of These
73. Browsers automatically add an __________ before and after a paragraph.
empty line
underline
empty space
None of these
74. To create a link to an e-mail address following syntax is used -
&lt;a email=&quot;name@example.com&quot;&gt;email&lt;/a&gt;
&lt;a href=&quot;mail:name@example.com&quot;&gt;email&lt;/a&gt;
&lt;a href=&quot;mailto:name@example.com&quot;&gt;email&lt;/a&gt;
None of These
75. In HTML , If we need to send the email then href attribute of anchor tag starts with _________ keyword.
email
mailto
mail
None of these
Submit