Explore topic-wise MCQs in Html.

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

451.

Which property is used to detect the browser’s user agent and code based on the pertinent cases?%!

A. navigator.userAgent
B. navigator.user
C. navigator
D. return
Answer» B. navigator.user
452.

Which one of the following is not a step to install a library you need to perform the compatibility in browsers ?%!

A. Download the library from the github location
B. Uncompress the file
C. Insert the following code inside the head tag
D. None of the mentioned
Answer» E.
453.

Which of the following options follows content model in HTML?i. Option one ii. Option two %!

A. i
B. ii
C. i and ii
D. None of the mentioned
Answer» C. i and ii
454.

__________ prevents search engines from following links inside the page%!

A. noarchive
B. nofollow
C. noindex
D. novalue
Answer» C. noindex
455.

The microdata model consists of groups of name-value pairs known as%!

A. Item
B. Property
C. Value
D. URL
Answer» B. Property
456.

If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.%!

A. itemscope
B. dom object
C. collection.namedItem
D. none of the mentioned
Answer» C. collection.namedItem
457.

Firefox uses _________ rendering engine.%!

A. WebKit
B. Gecko
C. Trident
D. Presto
Answer» C. Trident
458.

*$_Any target specified in the BASE element can be overridden on a case-by-case basis by specifying a different target in different forms?

A. Anchor
B. Imagemap
C. Link
D. All of the above
Answer» E.
459.

*$_What will be the added by using and tag ??

A. rows
B. steps
C. cell
D. columns
Answer» E.
460.

*$_How can you open a link in a new browser window ?1. 2. 3. ?

A. Option 1
B. Option 2
C. Option 3
D. None of the above
Answer» B. Option 2
461.

*$_Which one is the correct e-mail link ?1. 2. examveda@gmail3. 4. ?

A. Option 1
B. Option 2
C. Option 3
D. Option 4
Answer» B. Option 2
462.

*$_What does vlink mean??

A. Active link
B. Visible link
C. Visited link
D. None of the above
Answer» D. None of the above
463.

*$_The background image will scroll when the user scrolls down the page, you add which property to the tag ??

A. bgproperties = “fixed”
B. bgproperties = “move”
C. bgproperties = “holdstill”
D. None of the above
Answer» D. None of the above
464.

*$_HTML tags are used to describe document _______?

A. Definition
B. Language
C. Content
D. None of these
Answer» D. None of these
465.

*$_Which of the following protocol is used for e-mail services.?

A. SMAP
B. SMTP
C. SMIP
D. SMOP
Answer» C. SMIP
466.

*$_Which attribute is used with img tag to display the text if image could not load in browser??

A. description
B. name
C. alt
D. id
Answer» D. id
467.

*$_What is the correct way of describing XML data??

A. XML uses a DTD to describe data
B. XML uses a description node to describe data
C. XML uses XSL to describe the data
D. XML uses a validator to describe the data
Answer» D. XML uses a validator to describe the data
468.

*/*_Choose the inappropriate option with respect to Blue Griffon 1.5.2. Blue Griffon?

A. includes tools for developing HTML5 pages
B. abstracts out many css3 effects
C. supports direct embedding of audio and video files
D. supports swapping of videos of any length
Answer» E.
469.

*/*_Which one of the following is not a step to install a library you need to perform the compatibility in browsers ??

A. Download the library from the github location
B. Uncompress the file
C. Insert the following code inside the head tag
D. None of the mentioned
Answer» E.
470.

*/*_Which of the following options follows content model in HTML?i. Option one ii. Option two ?

A. i
B. ii
C. i and ii
D. None of the mentioned
Answer» C. i and ii
471.

*/*_Firefox uses _________ rendering engine.?

A. WebKit
B. Gecko
C. Trident
D. Presto
Answer» C. Trident
472.

*/*_All normal webpages consists of?

A. Top and bottom
B. Body and frameset
C. Head and body
D. None of the above
Answer» D. None of the above
473.

*/*_WYSIWYG stands for?

A. What You See Is What You Get
B. What you See Is What You Gain
C. When You Start Is When You Go
D. None of the above
Answer» B. What you See Is What You Gain
474.

*/*_To add a plain color background to your web page, use which of the following ?1. 2. 3. ?

A. Option 1
B. Option 2
C. Option 3
D. All of the above
Answer» D. All of the above
475.

*/*_Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data??

A. dataFormatAs
B. datafld
C. disabled
D. datasrc
Answer» C. disabled
476.

*/*_In 2003, the .ico format was registered with the ____________?

A. IANA
B. W3C
C. WIPO
D. EPO
Answer» B. W3C
477.

*/*_The attribute used to create the actual section within the current HTML document is?

A. LINK
B. HERF
C. BASE
D. NAME
Answer» E.
478.

*/*___________ prevents search engines from following links inside the page?

A. noarchive
B. nofollow
C. noindex
D. novalue
Answer» C. noindex
479.

*/*_The microdata model consists of groups of name-value pairs known as?

A. Item
B. Property
C. Value
D. URL
Answer» B. Property
480.

*/*_If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.?

A. itemscope
B. dom object
C. collection.namedItem
D. none of the mentioned
Answer» C. collection.namedItem
481.

*/*_Which one of the following is an open source JavaScript library that enables styling for HTML5 elements in versions of Internet Explorer before IE 9 ??

A. HTML5
B. HTML5 Shiv
C. HTML5 Shim
D. None of the mentioned
Answer» C. HTML5 Shim
482.

*/*_Choose the correct XHTML for width attribute and its value.?

A. width=80
B. width=”80″
C. WIDTH=”80″
D. WIDTH=80
Answer» C. WIDTH=‚Äö√Ñ√π80‚Äö√Ñ‚â•
483.

*/*_Which of the following is not supported in HTML5 ??

A. scheme
B. content
C. http-equiv
D. name
Answer» B. content
484.

*/*___________ is an HTML specification used to add more information to HTML tags.?

A. Macrodata
B. Microdata
C. Minidata
D. Modifydata
Answer» C. Minidata
485.

*/*_The ___________ of an item is the value of its element’s itemid attribute.?

A. token
B. typed item
C. global identifier
D. none of the mentioned
Answer» D. none of the mentioned
486.

*/*_Rendering engine is not responsible for?

A. parsing the markup content (HTML)
B. parsing style information (CSS, XSL, and so on)
C. generating a visual presentation of the formatted content including media files referenced
D. none of the mentioned
Answer» E.
487.

_ Gif and jpg are the two main types of what ?$?

A. animated effects
B. videos
C. images
D. None of the above
Answer» D. None of the above
488.

_ The tag is used for$?

A. Horizontal ruler
B. New line text
C. New pargraph
D. Vertical ruler
Answer» B. New line text
489.

_ Which tag is used to add columns to tables ?1. 2. 3. 4. $?

A. Option 1
B. Option 2
C. Option 3
D. Option 4
Answer» B. Option 2
490.

_ Why should you add alternative text to your images ?$?

A. So the user can save the image using the text as a name
B. So the users can get an idea of what the image is before
C. In case the user wishes to load a different picture
D. All of the above
Answer» C. In case the user wishes to load a different picture
491.

_ To change the size of an image in HTML, use$?

A. Pliers
B. Bigger and smaller
C. Top and bottom
D. Height and width
Answer» E.
492.

_ To set the color for table borders, use ________$?

A. bgcolor=#003300
B. bgimage=#003300
C. bordercolor=#003300
D. tablecolor=#003300
Answer» D. tablecolor=#003300
493.

_ Which of the following is correct character entities for "Copyright" symbol?$?

A. •
B. ≈∏
C. ©
D. ³
Answer» D. ¬¨‚â•
494.

_ How many heading tags are supported by HTML?$?

A. 3
B. 4
C. 5
D. 6
Answer» E.
495.

_ Marquee is a tag in HTML to$?

A. Display text with scrolling effect
B. Mark the list of items to maintain inqueue
C. Mark the text so that it is hidden in browser
D. Display text with strikeout effect
Answer» B. Mark the list of items to maintain inqueue
496.

_ Output of XML document can be viewed in a$?

A. Word Processor
B. Web browser
C. Notepad
D. None of the above
Answer» C. Notepad
497.

_ Swapping images in dreamweaver is best if$?

A. The images are the same “Mime” type
B. The images are the same color
C. The images are the same size
D. You use the “Constrain” tool
Answer» D. You use the ‚Äö√Ñ√∫Constrain‚Äö√Ñ√π tool
498.

_ Which one of the following is an open source JavaScript library that enables styling for HTML5 elements in versions of Internet Explorer before IE 9 ?$?

A. HTML5
B. HTML5 Shiv
C. HTML5 Shim
D. None of the mentioned
Answer» C. HTML5 Shim
499.

_ Choose the correct XHTML for width attribute and its value.$?

A. width=80
B. width=”80″
C. WIDTH=”80″
D. WIDTH=80
Answer» C. WIDTH=‚Äö√Ñ√π80‚Äö√Ñ‚â•
500.

_ Rendering engine is not responsible for$?

A. parsing the markup content (HTML)
B. parsing style information (CSS, XSL, and so on)
C. generating a visual presentation of the formatted content including media files referenced
D. none of the mentioned
Answer» E.