Site icon T4Tutorials.com

HTML Solved MCQs

Q#1: Which of the following is a container?
(A) <input>
(B) <head>
(C) <select>
(D) <document>
Answer: (C) <select>

Q#2: To create a descriptive list which tag is used?
(A) <DS>
(B) <DD>
(C) <DL>
(D) <LD>
Answer: (C) <DL>

Q#3: <INPUT> tag is a …
(A) base tag
(B) format tag
(C) delete tag
(D) empty tag
Answer: (D) empty tag

Q#4: To add a line break which tag is used?
(A) <strong>
(B) <line>
(C) <break>
(D) None of these
Answer: (D)

Q#5: Which tag is used to specify font for the whole web page?
(A) <indexfont>
(B) <defaultfont>
(C) <targetfont>
(D) none of these
Answer: (D) none of these

Q#6: <TH>, <TR> & <TD> are the tags of …
(A) list
(B) text
(C) body
(D) table
Answer: (D) table

Q#7: Gif and jpg are the types of …
(A) videos
(B) audio
(C) image
(D) text
Answer: (C) image

Q#8: Which tag is used to add rows in a table?
(A) <i> & </i>
(B) <b> & </b>
(C) <tr> & </tr>
(D) <td> & </td>
Answer: (C) <tr> & </tr>

Q#9: <p> tag is used for …
(A) pitch
(B) paragraph
(C) print
(D) all of these
Answer: (B) paragraph

Q#10: <TABLE> tag is used in …
(A) head
(B) body
(C) title
(D) none of these
Answer: (B) body

Q#11: What will be added in a table when <td> and </td> tags are used?
(A) row
(B) cell
(C) column
(D) list
Answer: (B) cell

Q#12: <COLSPAN> tag is added to …
(A) <table>
(B) <tr>
(C) <td>
(D) <th>
Answer: (C) <td>

Q#13: What is HTML?
(A) High Text Markup Language
(B) Hyper Tabular Markup Language
(C) HyperText Markup Language
(D) None of these
Answer: (C) HyperText Markup Language

Q#14: Which tag is used to mark the beginning of a paragraph?
(A) <TD>
(B)

(C) <TR>
(D) <P>
Answer: (D) <P>

Q#15: Which tag is used for a descriptive list start?
(A) <LL>
(B) <DD>
(C) <DL>
(D) <DS>
Answer: (C) <DL>

Q#16: Correct HTML tag for the largest heading is:
(A) <head>
(B) <h6>
(C) <heading>
(D) <h1>
Answer: (D) <h1>

Q#17: Markup tags tell the web browser?
(A) How to organize the page
(B) How to display the page
(C) How to display a message box on the page
(D) None of these
Answer: (B) How to display the page

Q#18: WWW is based on which model?
(A) Local-server
(B) 3-tier
(C) Client-server
(D) World Wide Web
Answer: (D) World Wide Web

Q#19: What are empty elements and is it valid?
(A) No terms exist as Empty Element
(B) It is not valid to use Empty Element
(C) Empty elements have no data
(D) None of these
Answer: (C) Empty elements have no data

Q#20: Which attribute of text box control is used for the maximum character?
(A) Size
(B) Len
(C) max length
(D) all of these
Answer: (C) max length

Q#21: To start the web page which tag is used?
(A) <Body>
(B) <Title>
(C) <HTML>
(D) <Form>
Answer: (C) <HTML>

Q#22: HTML is a subset of …
(A) SGMT
(B) SGML
(C) SGMD
(D) None of these
Answer: (B) SGML

Q#23: Which attribute defines the relationship between current document and HREF’ed URL?
(A) REL
(B) URL
(C) REV
(D) all of these
Answer: (A) REL

Q#24: <DD> tag is used to accept … as <DT> tag is used to fit a single line:
(A) line of text
(B) word
(C) request
(D) full paragraph
Answer: (A) line of text

Q#25: The descriptive list starts from which tag?
(A) <DL>
(B) <LL>
(C) <DD>
(D) <DS>
Answer: (A) <DL>

Q#26: Which command is used to left-align content inside table cell?
(A) <tdleft>
(B) <td align=”left”>
(C) <td raligh=”left”>
(D) <td leftalign>
Answer: (B) <td align=”left”>

Q#27: <BASE> tag is designed to appear only between …
(A) <TITLE>
(B) <BODY>
(C) <FORM>
(D) <HEAD>
Answer: (D) <HEAD>

Q#28: Which command is used to open a link in a new browser window?
(A) <a href=”url” target=”new”>
(B) <a href=”url”.new>
(C) <a href=”url” target=”_blank”>
(D) <a href=”url” target=”open”>
Answer: (C) <a href=”url” target=”_blank”>

Q#29: The best approach to establish Base URL is?
(A) HEAD element
(B) BASE element
(C) TITLE element
(D) Both A and B
Answer: (B) BASE element

Q#30: To include a hyperlink and create a new list item which tag is used?
(A) <DL>
(B) <DD>
(C) <LI>
(D) <UL>
Answer: (C) <LI>

Q#31: <first> and <First> elements are same?
(A) No, they represent different elements
(B) First is correct only
(C) first is only correct
(D) Both are same
Answer: (D) Both are same

Q#32: Part of graphic not added into another hot zone is considered part of …
(A) default
(B) rect
(C) point
(D) polygon
Answer: (A) default

Q#33: Which of the following is used to create a number list?
(A) <LI>
(B) <LI> and <OL>
(C) <OL>
(D) <DL>
Answer: (C) <OL>

Q#34: <INPUT> is …
(A) empty tag
(B) format tag
(C) both (A) and (B)
(D) none of these
Answer: (A) empty tag

Q#35: The map definition file is generally stored in …
(A) RECYCLE-BIN
(B) BIN
(C) CGI-BIN
(D) All of these
Answer: (C) CGI-BIN

Q#36: The latest HTML standard is …
(A) XML
(B) SGML
(C) HTML 4.0
(D) HTML 5.0
Answer: (D) HTML 5.0

Q#37: Tag used to create a hypertext relationship between current document and another URL is …
(A) <LINK>
(B) <ISINDEX>
(C) <A>
(D) None of these
Answer: (A) <LINK>

Exit mobile version