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.

351.

All HTML documents must start with a

A. Header tag
B. Body tag
C. Title tag
D. Document type declaration
Answer» E.
352.

Ismap attribute makes a special image when user click somewhere on image

A. It blinks
B. It hides
C. It opens a hyper link
D. All of above
Answer» D. All of above
353.

Window.localStorage HTML object stores data with

A. Expiration Date
B. No expiration date
C. One session
D. Both B and C
Answer» C. One session
354.

For using subscript in web document which tag is used?

A. <sup> </sup>
B. <sub> </sub>
C. <subscript> </subscript>
D. <superscript> </superscript>
Answer» C. <subscript> </subscript>
355.

HTML was firstly proposed in year _______.

A. 1995
B. 1990
C. 2000
D. 1980
Answer» C. 2000
356.

Who was the primary author of HTML (Hyper Text Markup Language). ?

A. Brendan Eich
B. Tim Berners-Lee
C. Google Inc
D. Sabeer Bhatiya
Answer» C. Google Inc
357.

Which of the following is not an example of browser ?

A. Netscape Navigator
B. Opera
C. Mozilla Firefox
D. Microsoft's Bing
Answer» E.
358.

PC's running with Windows 3.x will have _____________ extension for HTML Page.

A. .htm
B. .hml
C. .html
D. .htl
Answer» B. .hml
359.

HTML program can be read and rendered by _________.

A. Compiler
B. Web Browser
C. Server
D. Interpreter
Answer» C. Server
360.

Which of the following function converts an element’s color to a shade of gray, for use by the filter property?

A. shade()
B. grayscale()
C. black()
D. brightness()
Answer» C. black()
361.

Which of the following function adjust the brightness of an element’s color, for use by the filter property?

A. contrast()
B. dark()
C. light()
D. brightness()
Answer» E.
362.

Footer element can’t contain ____________ information.

A. contact information
B. copyright information
C. the author of the document
D. the author of the document
Answer» E.
363.

Which of the following method is not associated to handling the memory ________________

A. NPN_MemFlush
B. NPN_MemAlloc
C. NPN_MemFree
D. NPP_HandleEvent
Answer» E.
364.

The browser will not call the plug-in _________

A. NPN_InvalidateRect
B. NPP_Print
C. NPP_HandleEvent
D. NPP_SetValue
Answer» B. NPP_Print
365.

Windowless plug-in will not call ____________

A. NPN_InvalidateRegion
B. NPN_ForceRedraw
C. NPN_InvalidateRect
D. NPP_GetValue
Answer» E.
366.

The plugin resource string 1 is associated with ________

A. MIME type
B. aiff
C. video
D. jpg
Answer» D. jpg
367.

Which of the following is called after plug-in is initialized to get scripting interface?

A. NPP_GetValue
B. NP_GetValue
C. NP_GetMIMEDescription
D. NP_Initialize
Answer» B. NP_GetValue
368.

Which method is used to display a message on the status line?

A. NPN_MemFree
B. NPN_HandleWindow
C. NPN_Status
D. NPN_GetValue
Answer» D. NPN_GetValue
369.

Which function helps in identifying compatibility of plug-in and browser?

A. NPN_UserAgent
B. NPN_Version
C. NPN_Status
D. NPN_GetValue
Answer» C. NPN_Status
370.

NPN_PostURLNotify

A. NPN_GetURL
B. NPN_PostURL
C. NPN_PostURLNotify
D. NPN_GetURLNotify
Answer» B. NPN_PostURL
371.

Which method is used for sending data to URL from memory buffer?

A. NPN_PostURL
B. NPN_GetURLNotify
C. NPN_GetURL
D. NPN_PostURLNotify
Answer» B. NPN_GetURLNotify
372.

Which of the following is not a transmission mode that plug-in can select?

A. File mode
B. Random-access mode
C. Normal mode
D. Complex mode
Answer» E.
373.

Which of the following plug-in file type is used in MS Windows?

A. .DLL
B. .SO
C. .DSO
D. PPC
Answer» B. .SO
374.

The plug-in DLL can’t contain ______________

A. Language
B. ProductName
C. FileDescription
D. DirectoryName
Answer» E.
375.

When the user leaves instance’s page which function is called?

A. NPP_New
B. NPP_Destroy
C. NP_Shutdown
D. NP_Initialize
Answer» C. NP_Shutdown
376.

Which of the following plug-in can’t be embedded by element?

A. Java applets
B. Flash players
C. PDF readers
D. Map
Answer» E.
377.

HTML program is saved using ____________ extension.

A. .htnl
B. .htl
C. .hml
D. .html
Answer» E.
378.

Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?

A. scrollbar-darkshadow
B. scrollbar-shadow-color
C. scrollbar-darkshadow-color
D. none of the mentioned
Answer» D. none of the mentioned
379.

Which of the following property defines the color of an element’s right border?

A. border-right-colors
B. border-right-color
C. border-right
D. border-color
Answer» C. border-right
380.

Which of the following property sets an element’s background color?

A. background-image
B. background-color
C. background-colors
D. background-position
Answer» C. background-colors
381.

Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?

A. background-scroll
B. background-attach
C. background-attachment
D. background-allowance
Answer» D. background-allowance
382.

Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?

A. HSLa Color
B. Commonly defined named colors
C. System Color Names
D. Specificationdefined named colors
Answer» D. Specificationdefined named colors
383.

Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?

A. 6-Hex Color
B. 3-Hex Color
C. RGBS
D. RGBa
Answer» B. 3-Hex Color
384.

Which of the following selectors selects the specified elements of type E with a particular class value?

A. E.class
B. E ~ F
C. *
D. E, F, G
Answer» B. E ~ F
385.

Which of the following selectors selects siblings?

A. E.class
B. E ~ F
C. *
D. E, F, G
Answer» C. *
386.

Which of the following selectors selects any tag with an id attribute set?

A. E#id
B. .class
C. #id
D. *
Answer» D. *
387.

p strong {background-color: yellow;}What will happen in this case?

A. Strong have yellow background
B. Strong element within a p element have a yellow background
C. Both p and strong have yellow background
D. None of the mentioned
Answer» C. Both p and strong have yellow background
388.

p {line-height: 150%;}.What type of selector is used in this case?

A. class Selectors
B. element Selectors
C. id Selectors
D. none of the mentioned
Answer» C. id Selectors
389.

Which of the following font-size-adjust is value used in calculating the size of the fallback fonts?

A. auto
B. number
C. count
D. none
Answer» C. count
390.

Which of the following property applies one or more drop shadows to the text?

A. text-shadow
B. text-effect
C. text-format
D. text-decoration-shadow
Answer» B. text-effect
391.

Which of the following is not a appropriate value for text-overline-width?

A. thin
B. medium
C. <number>
D. none of the mentioned
Answer» E.
392.

Which of the following specifies what parts of an element’s content are skipped over when applying any text decoration?

A. @font-text
B. font-style
C. text-skip
D. text-decoration-skip
Answer» E.
393.

We can write HTML Code using ______. Select appropriate option(s).

A. Notepad++
B. VLC Media
C. None of these
D. Microsoft Word
Answer» E.
394.

__________ is the XML equivalent to strict HTML 4.01.%!

A. XHTML 1.0 Strict
B. XHTML 1.0 Frameset
C. XHTML 1.0 Transitional
D. None of the mentioned
Answer» B. XHTML 1.0 Frameset
395.

According to the rules of XML and XHTML, all elements must be closed either with an end tag or by self-closing with a space, slash, and a right-pointing angle bracket%!

A. True
B. False
Answer» B. False
396.

A favicon is an image used by the browser to identify a website or web application.%!

A. True
B. False
Answer» B. False
397.

In March 1999, Microsoft released Internet Explorer 5, which supported favicons for the first time.%!

A. True
B. False
Answer» B. False
398.

The recommended basic size for a favicon is ___________ pixels%!

A. 16√ó16
B. 26√ó26
C. 48√ó48
D. both a and c
Answer» E.
399.

Once the email is sent, the message is broken into pieces called ____________%!

A. Packets
B. Process
C. Digits
D. Bytes
Answer» B. Process
400.

____________ is known as father of World Wide Web.%!

A. Robert Cailliau
B. Tim Thompson
C. Charles Darwin
D. Tim Berners-Lee
Answer» E.