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.

51.

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

A. ption 1
B. ption 2
C. ption 3
D. ption 4
Answer» B. ption 2
52.

Which property tells how many rows a cell should span ?

A. olspan=n
B. owspan=n
C. oth A and B
D. one of the above
Answer» C. oth A and B
53.

Which format usually works best for photos?

A. TML
B. IF
C. PG
D. ll of the above
Answer» D. ll of the above
54.

y default, iOS adds ____________ effects to icons.

A. eflective shine
B. quare corners and reflective shine
C. ounded corners and reflective shine
D. pple trademark
Answer» D. pple trademark
55.

This is used to

A. ake web page compatible only with IE8
B. imic behaviour of IE8
C. ake web page incompatible only with IE8
D. one of the mentioned
Answer» C. ake web page incompatible only with IE8
56.

Choose the correct statement for HTML

A. xo is a cloud-based ide that offers collaboration and deployment features
B. xo does not support java and python
C. xo supports javascript and html5
D. oth a and c
Answer» E.
57.

Which of the following is not an IDE

A. lueGriffon 1.5.2
B. ptana studio 3
C. extEdit(Mac)
D. reamweaver
Answer» D. reamweaver
58.

Choose the correct statement of HTML

A. n traditional XHTML close tag for some elements is optional but not encouraged
B. n traditional HTML close tag for some elements is optional but not encouraged
C. one of the mentioned
D. n both traditional XHTML and HTML close tag for some elements is optional
Answer» C. one of the mentioned
59.

XML is application of Extensible Markup Language (XML) whereas HTML is an application of

A. HTTP
B. FTP
C. XHTML
D. SGML
Answer» E.
60.

Which method is same as GET but returns only HTTP headers and no document body?

A. Post method
B. Put method
C. Head method
D. None
Answer» D. None
61.

"href " attribute in HTML document is used to define

A. Paragraph
B. Heading
C. Table
D. Link Destination
Answer» E.
62.

An image-map is an image with clickable areas, so which tag we can use for defining an image-map?

A. <image map>
B. <map image>
C. <map>
D. <image>
Answer» D. <image>
63.

Anchor tag in HTML is denoted as

A. <a>
B. <anchor>
C. <ach>
D. None
Answer» B. <anchor>
64.

Which of following element is used for creating a separate table footer?

A. <footer>
B. <sepfooter>
C. <tfoot>
D. None of them
Answer» D. None of them
65.

Parameters remain in browser history is an example of

A. Get method
B. Post method
C. Head method
D. Put method
Answer» B. Post method
66.

_blank target attribute opens a linked document in

A. new window
B. new tab
C. same window
D. Both A and B
Answer» E.
67.

To define a style for a special type of elements, we can add a

A. Class
B. Margin
C. Border
D. Table
Answer» B. Margin
68.

In HTML form is used for

A. One line text
B. Block of text
C. One paragraph
D. None
Answer» B. Block of text
69.

XHTML stands for?

A. Extensible HyperText Markup Language
B. Extended HyperText Markup Language
C. Extensible HighText Markup Language
D. None
Answer» B. Extended HyperText Markup Language
70.

Web design that makes your web page look good on all devices is called as?

A. Good web design
B. Interactive web design
C. Responsive web design
D. Both A and B
Answer» D. Both A and B
71.

Which of following is not an inline element?

A. <span>
B. <a>
C. <img>
D. <div>
Answer» E.
72.

Type of tag used for inserting an image in web document is

A. <imp>
B. <img>
C. <image>
D. <src>
Answer» C. <image>
73.

A tag which is used for overriding current text direction e.g. Right to left side

A. <bdo dir="rtl"> </bdo>
B. <bdo dir="ltr"> </bdo>
C. >bdo = "right to left"< </bdo>
D. None
Answer» B. <bdo dir="ltr"> </bdo>
74.

For adding styles in HTML tables we can use properties of?

A. J-Query
B. CSS
C. Java
D. Php
Answer» C. Java
75.

Plug-ins can be added to web pages with tag and?

A. <source> tag
B. <link> tag
C. <embed> tag
D. None
Answer» D. None
76.

RGB stands for

A. Red, Green, Blue
B. Red, Green, Black
C. Red, Gray, Black
D. None
Answer» B. Red, Green, Black
77.

Starting and ending tag of HTML document is

A. <body> </body>
B. <http> </http>
C. <html> </html>
D. None
Answer» D. None
78.

A small program that can be embedded within web pages to perform a specific functionality is called as

A. Class
B. Applet
C. Sheet
D. All of above
Answer» C. Sheet
79.

Visible part of HTML document lies in

A. Body Tag
B. Paragraph Tag
C. Links Tag
D. Image Tag
Answer» B. Paragraph Tag
80.

For specifying character set, page description, keywords, authors and other metadata which tag is used?

A. <head>
B. <title>
C. <meta>
D. <metadata>
Answer» D. <metadata>
81.

For creating a drop-down list in HTML forms which element is suitable?

A. <list>
B. <dropdown>
C. <select>
D. All of above
Answer» D. All of above
82.

Semantic element defines

A. An article on web page
B. Navigational links
C. Navigational forms
D. None
Answer» C. Navigational forms
83.

HTML element is used to draw graphics, on fly via

A. PHP
B. JavaScript
C. J-Query
D. Applet
Answer» C. J-Query
84.

In HTML you can display a color by using only

A. RGB Values
B. HEX Values
C. Gray Codes
D. Both A and B
Answer» E.
85.

Which tag is used to define links in HTML document?

A. <p>
B. <h1>
C. <a>
D. <img>
Answer» B. <h1>
86.

In HTML links an unvisited link is underlined and

A. Red colored
B. Blue colored
C. Black colored
D. None
Answer» C. Black colored
87.

.midi extension file format is aan

A. Video format
B. Audio format
C. Movie format
D. Graphics format
Answer» C. Movie format
88.

In HTML tables space between cell content and cell border is called

A. Cell spacing
B. Cell difference
C. Cell padding
D. All of above
Answer» D. All of above
89.

MPEG stands for?

A. Map Pictures Expert Group
B. Moving Pictures Expert Group
C. Magnifying Pictures Expert Group
D. None
Answer» C. Magnifying Pictures Expert Group
90.

Attributes usually come in name/value pairs forms like:

A. name="value"
B. value= name
C. value= value
D. None
Answer» B. value= name
91.

While submitting a form method attribute specifies what?

A. Get and Post method
B. Get and Set method
C. Put and Set method
D. Get and Host method
Answer» B. Get and Set method
92.

Hypertext transfer protocol (HTTP) is designed to enable communications between?

A. Server to server
B. Client to Client
C. Client and server
D. None
Answer» D. None
93.

For opening linked document in same window which target attribute is more suitable?

A. _blank
B. _self
C. _parent
D. _top
Answer» C. _parent
94.

Which method uploads a representation of a specified URI in HTML?

A. Post method
B. Put method
C. Head method
D. Get method
Answer» C. Head method
95.

Non-semantic elements in HTML5 is?

A. <div>
B. <span>
C. <form>
D. Both A and B
Answer» E.
96.

My Web Page displays?

A. Centered align paragraph
B. Centered align Heading
C. Left aligned paragraph
D. Left aligned Heading
Answer» C. Left aligned paragraph
97.

HTML element defines

A. Line break
B. Preformatted text
C. Paragraph
D. Both A and C
Answer» B. Preformatted text
98.

For using an external style sheet in your web document which tag is used?

A. <script>
B. <sheet>
C. <css>
D. <link>
Answer» E.
99.

Default method while submitting a form is

A. Put method
B. Post method
C. Set method
D. Get method
Answer» E.
100.

Cols attribute in forms text area specifies what?

A. The visible width of a text area
B. The visible number of lines in a text area
C. Size of a text area
D. Size of a text field
Answer» B. The visible number of lines in a text area