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.

301.

Some tags enclose the text. Those tags are known as

A. Couple tags
B. Single tags
C. Double tags
D. Pair tags
Answer» E.
302.

The _____ character tells browsers to stop tagging the text

A. ?
B. /
C. >
D. %
Answer» C. >
303.

To create HTML document you require a

A. web page editing software
B. High powered computer
C. Just a notepad can be used
D. None of above
Answer» D. None of above
304.

Which of the following is not a pair tag?

A. <p>
B. < u >
C. <i>
D. <img>
Answer» E.
305.

Which tag creates a check box for a form in HTML?

A. <checkbox>
B. <input type=”checkbox”>
C. <input=checkbox>
D. <input checkbox>
Answer» C. <input=checkbox>
306.

Which attribute is used to name an element uniquely?

A. class
B. id
C. dot
D. all of above
Answer» C. dot
307.

To create a combo box (drop down box) which tag will you use ?

A. <select>
B. <list>
C. <input type=”dropdown”>
D. all of above
Answer» B. <list>
308.

What is the correct HTML for adding a background color?

A. <body color=”yellow”>
B. <body bgcolor=”yellow”>
C. <background>yellow</background>
D. <body background=”yellow”>
Answer» C. <background>yellow</background>
309.

Choose the correct HTML tag to make a text bold?

A. <b>
B. <bold>
C. <bb>
D. <bld>
Answer» B. <bold>
310.

How can you make an e-mail link?

A. <a href=”[email protected]”>
B. <mail href=”[email protected]”>
C. <mail>[email protected]
D. <a href=”mailto:[email protected]”>
Answer» E.
311.

Choose the correct HTML tag to make a text italic

A. <ii>
B. <italics>
C. <italic>
D. <i>
Answer» E.
312.

What is the correct HTML for making a hyperlink?

A. <a href=”http:// study2online.com”>HTML MCQ Quiz</a>
B. <a name=”http://study2online.com”>HTML MCQ Quiz</a>
C. <http://study2online.com</a>
D. <a url=”http://study2online.com”>HTML MCQ Quiz</a>
Answer» B. <a name=”http://study2online.com”>HTML MCQ Quiz</a>
313.

How can you make a numbered list?

A. <dl>
B. <ol>
C. <list>
D. <ul>
Answer» C. <list>
314.

Which tag allows you to add a row in a table?

A. <td> and </td>
B. <cr> and </cr>
C. <th> and </th>
D. <tr> and </tr>
Answer» E.
315.

What should be the first tag in any HTML document?

A. <head>
B. <title>
C. <html>
D. <document>
Answer» D. <document>
316.

Which tag inserts a line horizontally on your web page?

A. <hr>
B. <line>
C. <line direction=”horizontal”>
D. <tr>
Answer» B. <line>
317.

Tags and test that are not directly displayed on the page are written in _____ section.

A. <html>
B. <head>
C. <title>
D. <body>
Answer» C. <title>
318.

A webpage displays a picture. What tag was used to display that picture?

A. picture
B. image
C. img
D. src
Answer» D. src
319.

HTML document contain 1 root tag called __________.

A. HTML
B. BODY
C. TITLE
D. HEAD
Answer» B. BODY
320.

The year in which HTML was first proposed _______.

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

Which of the following property allows long text, such as a URL, to be broken if it would otherwise over?

A. text-transform
B. word-wrap
C. text-overflow
D. text-indent
Answer» C. text-overflow
322.

Opening Tag of HTML Tag is called as __________.

A. Ending Tag
B. Closed Tag
C. Starting Tag
D. Forward Tag
Answer» D. Forward Tag
323.

HTML tags are surrounded by __________ brackets.

A. Square
B. Round
C. Angle
D. Curly
Answer» D. Curly
324.

In HTML5 how many new semantic elements were introduced?

A. 4
B. 5
C. 6
D. 8
Answer» E.
325.

In 1989 Tim Berners-Lee invented WWW and in 1991 he invented?

A. Microsoft
B. Linux
C. HTML
D. XML
Answer» D. XML
326.

and tags in HTML document are used for?

A. Big and small text
B. Bold and small text
C. Bold and italic text
D. None
Answer» D. None
327.

Which tag we can use for adding an emphasized text in web document?

A. <emphasized> </emphasized>
B. <emp> </emp>
C. <em> </em>
D. <mark> </mark>
Answer» D. <mark> </mark>
328.

Why tag is used in HTML page?

A. For creating table
B. For thematic break
C. For heading
D. None
Answer» C. For heading
329.

To specify a hint that describes expected value of an input field which attribute is used?

A. Autofocus
B. Hint
C. Text hint
D. Placeholder
Answer» E.
330.

In image tag " alt " attribute specifies what?

A. Alternative text
B. Alternative image
C. Link of image
D. None
Answer» B. Alternative image
331.

Choose correct HTML statement for adding a background color

A. <body bgcolor="yellow">
B. <body style="background-color : yellow;">
C. <body color="#yellow">
D. Both A and B
Answer» E.
332.

Which tag is used for creating a horizontal line to break up section in web document?

A. <line>
B. <horizontal>
C. <hl>
D. <hr>
Answer» E.
333.

For smallest size headings which tag you most prefer to use

A. <headings>
B. <h1>
C. <h4>
D. <h6>
Answer» E.
334.

How invented WWW?

A. Tim Berners Lee
B. Dava Raggett
C. Bill Gates
D. Linus Torvalds
Answer» B. Dava Raggett
335.

This Your text tag is used to define a

A. Link
B. Class
C. CSS sheet
D. Both A and B
Answer» B. Class
336.

Canvas draws 2D graphics, on fly whereas SVG draws 2D graphics on

A. XML
B. XHTML
C. Screen
D. None
Answer» B. XHTML
337.

For converting Non-ASCII characters into format that can be transmitted over Internet is called?

A. Unicoding scheme
B. URL Encoding scheme
C. URL Multicoding scheme
D. None
Answer» C. URL Multicoding scheme
338.

Which one is resolution independent?

A. SVG
B. Canvas
C. Google Maps
D. Bitmap Graphics
Answer» B. Canvas
339.

In HTML tables table data or cell is defined by

A. <th> tag
B. <tr> tag
C. <td> tag
D. <t data>
Answer» D. <t data>
340.

Mailto tag is used for

A. Image
B. Email
C. Facebook
D. Twitter
Answer» C. Facebook
341.

Which tag provides data about page expiry, page author, list of keywords, page description etc.

A. <Head>
B. <Document type>
C. <Title>
D. <Meta>
Answer» E.
342.

HTML5.1 was released in

A. 2010
B. 2012
C. 2014
D. 2016
Answer» E.
343.

Which tag is used for bigger headings in HTML document?

A. <h>
B. <h1>
C. <h4>
D. <h6>
Answer» C. <h4>
344.

HTML only uses

A. Pre-specified tags
B. User- defined tags
C. Fixed tags defined by language
D. All of above
Answer» D. All of above
345.

element in HTML forms is used for

A. Group of related data
B. Group of irrelevant data
C. Text field
D. None
Answer» B. Group of irrelevant data
346.

"src" attribute for an image specifies what?

A. Text for image
B. Url for an image
C. Alternate image
D. Both A and B
Answer» C. Alternate image
347.

HTML documents transmitted from web servers to web browsers using

A. FTP
B. HTTP
C. XML
D. All of above
Answer» C. XML
348.

defines a

A. link to reset all form values
B. Reset button
C. Reset field
D. Reset radio button
Answer» C. Reset field
349.

element is a container for?

A. HTML documents
B. HTML head tags
C. Metadata
D. None
Answer» D. None
350.

To display many types of map e.g. ROADMAP, SATELLITE, HYBRID, and TERRAIN which property of googlemap is used?

A. MapOptions
B. MapTypeId
C. TypeOfMap
D. None
Answer» C. TypeOfMap