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.

501.

_ When is the content of a table shown ?$?

A. Before the border loads
B. After the table is loaded
C. In pieces as it loads
D. None of the above
Answer» C. In pieces as it loads
502.

_ Adding a border to your image helps the visitor to recognize it as what ?$?

A. A frame
B. A link
C. A picture
D. None of the above
Answer» C. A picture
503.

_ and are the tags used for$?

A. Adding image
B. Aligning text
C. Audio-voiced text
D. Adding links to your page
Answer» E.
504.

_ The __________ attribute sets the text direction as related to the lang attribute.$?

A. lang
B. sub
C. dir
D. ds
Answer» D. ds
505.

_ The favicon was standardized by the$?

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

_ The attribute that defines the relationship between the current document and the HREF’ed URL is$?

A. URL
B. REV
C. REL
D. PRE
Answer» C. REL
507.

_ Which of the following is not supported in HTML5 ?$?

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

_ __________ is an HTML specification used to add more information to HTML tags.$?

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

_ 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
510.

_Which colors consist of equal amounts of all basic colors ?$?

A. White, Blue and Gray
B. White, Black and Gray
C. Purple, Green and Blue
D. None of the above
Answer» C. Purple, Green and Blue
511.

_If you create an HTML page in word processor.$?

A. Save it with binary file
B. Save it with WMF file
C. Save it with ASCII text file
D. All of the above
Answer» D. All of the above
512.

_Which property tells how many rows a cell should span ?$?

A. colspan=n
B. rowspan=n
C. Both A and B
D. None of the above
Answer» C. Both A and B
513.

_The tag makes text ?$?

A. Inline
B. Underline
C. Italic
D. None of the above
Answer» D. None of the above
514.

_The attribute used choose the type of font in HTML is ?$?

A. Character
B. Face
C. Text-type
D. All of the above
Answer» C. Text-type
515.

_The default value of BORDER attribute is$?

A. 1 pixel
B. 2 pixel
C. 4 pixel
D. None of the above
Answer» B. 2 pixel
516.

_What is the use of iframe in HTML?$?

A. To display a web page within a web page
B. To display a web page with animation effect
C. To display a web page without browser
D. All of the Above
Answer» B. To display a web page with animation effect
517.

_The software that can read and render HTML documents is$?

A. Server
B. Compiler
C. Interpreter
D. Browser
Answer» E.
518.

_Which attribute is used to name an element uniquely ?$?

A. class
B. id
C. dot
D. All of the above
Answer» C. dot
519.

_What is the full form of TCP/IP?$?

A. transmission control protocol / internet protocol
B. telephone call protocol / international protocol
C. transport control protocol / internet protocol
D. none of the above
Answer» B. telephone call protocol / international protocol
520.

_Blue Griffon is based on ________ rendering engine$?

A. WebKit
B. Gecko
C. Presto
D. None of the mentioned
Answer» C. Presto
521.

_This is used to$?

A. make web page compatible only with IE8
B. mimic behaviour of IE8
C. make web page incompatible only with IE8
D. None of the mentioned
Answer» C. make web page incompatible only with IE8
522.

_Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a time element ?$?

A. The value is the element’s datetime value.
B. The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute.
C. The value is the value of the element’s value attribute, if it has one, or the empty string otherwise.
D. The value is the element’s textContent.
Answer» B. The value is the value of the element‚Äö√Ñ√¥s content attribute, if any, or the empty string if there is no such attribute.
523.

_Which of the following are table tags?$?

A. table, thead, tr, td
B. colspan, table, tr
C. table, tt, tr, td
D. none of the mentioned
Answer» B. colspan, table, tr
524.

_Identify the count of mistakes in the following markup. Hello $?

A. 2
B. 3
C. 1
D. 0
Answer» C. 1
525.

_In HTML, tags that include both on and off tag are called$?

A. comment tag
B. document tag
C. container tag
D. None of the above
Answer» D. None of the above
526.

_What does the tag add to your webpage ?$?

A. Long break
B. Paragraph break
C. Line break
D. None of the above
Answer» D. None of the above
527.

_ALL HTML tags are enclosed in what ?$?

A. # and #
B. ? and !
C. < and >
D. { and }
Answer» D. { and }
528.

_Which attribute is used to provide an advisory text about an element or its contents.$?

A. tooltip
B. dir
C. title
D. none of the mentioned
Answer» D. none of the mentioned
529.

_Which image file format is not supported in Firefox?$?

A. ICO
B. PNG
C. SVG
D. APNG
Answer» D. APNG
530.

Defining clickable sub-areas on an image is called$?

A. Image linking
B. Multiple mapping
C. Image mapping
D. None of the above
Answer» D. None of the above
531.

__________ prevents the page from being indexed altogether.$?

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

The value of the ___________ attribute refers to the time interval in seconds before the refresh is performed.$?

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

A much better approach to establish the base URL is to use the _________ element.?

A. HEAD
B. BODY
C. BASE
D. None of the above
Answer» D. None of the above
534.

Which of the following will NOT be found in the section ?1. 2. 3.?

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

Which format usually works best for photos??

A. HTML
B. GIF
C. JPG
D. All of the above
Answer» D. All of the above
536.

The HTML tags are all?

A. In lower case
B. In upper case
C. Case sensitive
D. Not case sensitive
Answer» E.
537.

The MIME text file is saved with.?

A. CSS extension
B. HTML extension
C. HMT extension
D. None of the above
Answer» C. HMT extension
538.

How many characters can be written with 1 kilobyte ??

A. 1000
B. 1024
C. 1048
D. None of the above
Answer» C. 1048
539.

What is the use of Forms in HTML??

A. To display contents of email
B. To display animation effect
C. To collect user’s input
D. None of the Above
Answer» D. None of the Above
540.

HTML document is saved using _______ extension.?

A. .htl
B. .html
C. .hml
D. .htnl
Answer» C. .hml
541.

Why should you specify a background color if you are using an image for the actual background of your page ??

A. So the text shows up better
B. In case the image doesn’t fit right
C. The background color will be shown until the image loads
D. None of the above
Answer» D. None of the above
542.

What is a search engine??

A. A program that searches engines
B. A web site that searches anything
C. A hardware component
D. A machinery engine that search data
Answer» C. A hardware component
543.

What is DOM in HTML?

A. Hierarchy of objects in ASP.NET
B. Application programming interface
C. Convention for representing and interacting with objects in html documents
D. None of the mentioned
Answer» D. None of the mentioned
544.

Choose the correct tag for largest heading in HTML.

A. h6
B. heading
C. h1
D. head
Answer» D. head
545.

Which of the following is not a correct (X)HTML rule?

A. Attributes should be quoted
B. Tags should nest not tag
C. Unused elements may be minimized
D. Unknown attributes are ignored by the browser
Answer» E.
546.

Which program do you need to write HTML ?

A. A graphics program
B. Any text editor
C. HTML -development suite 4
D. All of the above
Answer» C. HTML -development suite 4
547.

Choose the correct HTML tag to make a text italic.1. 2. 3. 4.

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

HTML is a subset of

A. SGMD
B. SGML
C. SGMH
D. None of the above
Answer» C. SGMH
549.

The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element.

A. dir
B. dir
C. class
D. none of the mentioned
Answer» C. class
550.

All HTML documents will be basically

A. Graphs
B. Text
C. Pictures
D. None of the above
Answer» C. Pictures