Explore topic-wise MCQs in Html.

This section includes 250 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

101.

Negative positions for string do not work in ______________.

A. Safari
B. Opera
C. Chrome
D. Internet Explorer 8
E. None of these
Answer» E. None of these
102.

typeof null in JavaScript is _______.

A. undefined
B. object
C. string
D. number
E. None of these
Answer» C. string
103.

Variable element is ________.

A. <sup>
B. <time>
C. <wbr>
D. <var>
E. None of these
Answer» E. None of these
104.

Arrays in JavaScript are written within ____________.

A.
B. {}
C. ()
D. [].
E. None of these
Answer» E. None of these
105.

By default JavaScript displays the numbers as ___________.

A. base 10
B. base 16
C. base 2
D. base 6
E. None of these
Answer» B. base 16
106.

What is the Boolean value of in JavaScript?

A. false
B. off
C. on
D. true
E. None of these
Answer» B. off
107.

Math.random() returns _______________.

A. random number between 0 and 10
B. random number between 1 and 100
C. random number between 1 and 10
D. random number between 0 and 1
E. None of these
Answer» E. None of these
108.

In jQuery all the elements are selected by writing ____________.

A. $( :button )
B. $( * )
C. $( .class_name )
D. $(this)
E. None of these
Answer» C. $( .class_name )
109.

Which of the following is not the fade method in jQuery?

A. fadeOut()
B. fadeIn()
C. fadeOn()
D. fadeTo()
E. None of these
Answer» D. fadeTo()
110.

Which method is not used for traversing DOM tree?

A. after()
B. parents()
C. parentsUntil()
D. parent()
E. None of these
Answer» B. parents()
111.

hover() method is the combination of ____________.

A. mouseleave() and mousedown()
B. mouseup() and mousedown()
C. mousedown() and mouseenter()
D. mouseleave() and mouseeneter()
E. None of these
Answer» E. None of these
112.

Which of the following is not a jQuery dimension method?

A. css()
B. height()
C. outerHeight()
D. innerWidth()
E. None of these
Answer» B. height()
113.

Which method is not used for CSS manipulation?

A. beforeClass()
B. toggleClass()
C. css()
D. removeClass()
E. None of these
Answer» B. toggleClass()
114.

The method not used to add new content is ___________.

A. add()
B. after()
C. prepend()
D. before()
E. None of these
Answer» B. after()
115.

The method releases jQuery s control of $ is __________.

A. data()
B. each()
C. $.param()
D. $.noConflict()
E. None of these
Answer» E. None of these
116.

Which of the following is not window object method?

A. unescape()
B. confirm()
C. close()
D. blur()
E. None of these
Answer» B. confirm()
117.

Which is not the method of History object?

A. back()
B. forward()
C. go()
D. moveBy()
E. None of these
Answer» E. None of these
118.

Which of the following is not screen object property?

A. colorDepth
B. pixelDepth
C. language
D. width
E. None of these
Answer» D. width
119.

Which of the following is the Navigator object method?

A. stop()
B. scroll()
C. moveBy()
D. javaEnabled()
E. None of these
Answer» B. scroll()
120.

Which of the following is not navigator object property?

A. cookieEnabled
B. document
C. appVersion
D. geolocation
E. None of these
Answer» C. appVersion
121.

Metadata does not define _________.

A. scripts
B. color
C. links
D. character set
E. None of these
Answer» C. links
122.

For explaining, which new technology is used?

A. <address>
B. <abbr>
C. <cite>
D. <dfn>
E. None of these
Answer» E. None of these
123.

Which element indicates about something which is no longer accurate?

A. <del>
B. <s>
C. <address>
D. <ins>
E. None of these
Answer» C. <address>
124.

For displaying a list horizontally, we can use ______________.

A. type
B. <dt>
C. <dd>
D. display:inline
E. None of these
Answer» E. None of these
125.

Which of the following can t be the value of list-style-type?

A. disc
B. ellipse
C. circle
D. square
E. None of these
Answer» C. circle
126.

For keeping blog comment spam down we use ___________.

A. title
B. heading
C. meta
D. nofollow
E. None of these
Answer» E. None of these
127.

The content property does not include __________.

A. Normal
B. Color
C. URIs
D. Strings
E. None of these
Answer» C. URIs
128.

Which syntax will cause IE to recognize section element?

A. document.createElement( section )
B. document.createElement( <section> )
C. createElement.document( section )
D. getElementById( section )
E. None of these
Answer» B. document.createElement( <section> )
129.

Which of the following does not use a crawler to find pages for the search result?

A. Google
B. Yahoo
C. Bing
D. Backrub
E. None of these
Answer» E. None of these
130.

The search that can t be targeted by SEO is _______.

A. audio search
B. academic search
C. image search
D. video search
E. None of these
Answer» B. academic search
131.

Which one of the following will add prefix automatically?

A. MooTools
B. Selectivizr
C. Gulp
D. PostCSS
E. None of these
Answer» E. None of these
132.

For handling CSS prefixes Chrome uses ___________.

A. chr-
B. moz-
C. ms-
D. webkit-
E. None of these
Answer» E. None of these
133.

Dirty Markup will not validate ___________.

A. HTML
B. CSS
C. JavaScript
D. PHP
E. None of these
Answer» E. None of these
134.

Which one of the following is used to identify an anchor link?

A. #?
B. #
C. &
D. #!
E. None of these
Answer» C. &
135.

Which tag is used for stopping duplicate content?

A. meta
B. nofollow
C. image alt tag
D. canonical tag
E. None of these
Answer» E. None of these
136.

Image Alt tags is not used for ____________.

A. screenshots
B. infographics
C. diagrams
D. decorative images
E. None of these
Answer» E. None of these
137.

Footer element can t contain ____________ information.

A. blog post
B. the author of the document
C. copyright information
D. contact information
E. None of these
Answer» B. the author of the document
138.

Which element denotes that the text is a short fragment of computer code?

A. <dfn>
B. <cite>
C. <data>
D. <code>
E. None of these
Answer» E. None of these
139.

Which of the following is keyboard input element?

A. <em>
B. <mark>
C. <kbd>
D. <dfn>
E. None of these
Answer» E. None of these
140.

Which element is used for bringing attention?

A. <b>
B. <code>
C. <cite>
D. None of these
Answer» B. <code>
141.

Which element is called bidirectional isolation?

A. <b>
B. <bdi>
C. <bdo>
D. None of these
Answer» C. <bdo>
142.

Which element is used for or styling HTML5 layout?

A. jQuery
B. CSS
C. JavaScript
D. PHP
E. None of these
Answer» C. JavaScript
143.

Which browser was the first that allows CSS rules to be associated with new HTML5 layout elements?

A. Firefox
B. Chrome
C. Internet Explorer 7
D. Internet Explorer 9
E. None of these
Answer» B. Chrome
144.

For defining bookmarks in a page we use __________.

A. <a>
B. href
C. target
D. id
E. None of these
Answer» E. None of these
145.

In HTML5 which element defines thematic change in the content?

A. <p>
B. <head>
C. <h1>
D. <hr>
E. None of these
Answer» E. None of these
146.

Correct syntax for $.post() method is ____________.

A. $.post(URL,callback)
B. $.post(data,callback)
C. $.post(URL,data,callback)
D. $.post(URL,data)
E. None of these
Answer» D. $.post(URL,data)
147.

Typeof infinity will return ___________.

A. undefined
B. object
C. string
D. number
E. None of these
Answer» B. object
148.

The integers in JavaScript are precise up to ___________.

A. 23 digits
B. 15 digits
C. 10 digits
D. 12 digits
E. None of these
Answer» C. 10 digits
149.

JavaScript numbers are stored as ______________.

A. floating point
B. double
C. double precision floating point
D. integers
E. None of these
Answer» D. integers
150.

Resources do not fit into _______.

A. idle entries
B. explicit entries
C. master entries
D. fallback entries
E. None of these
Answer» B. explicit entries