HTML MCQ For Experienced
Sure shot questions to crack any Interviews and Exams!!
01. Html documents are saved in which format?
- Binary format
- Machine language codes
- ASCII text
- None of these
02. Which character tells browser to stop tagging the text?
- /
- >
- %
- ?
03. In an HTML document the tags
- Should be written in both upper case or lower case
- Should be written in lower case
- Should be written in upper case
- None of the above
04. Marquee tag in HTML is used to
- Mark the items in a enqueue
- Mark the text so that it is hidden in the browser
- Display text with a scrolling effect
- None of the above
05. To create a blank line in the web page
- Press Shift + Enter
- Insert <br> tag
- Insert <new-line> tag
- Insert <tr> tag
06. Which of the following is not a correct style tag in HTML?
- <b>
- <tt>
- <i>
- All are correct style tags
07. By which of the following way(s) the browser display the object can be modified?
- Attributes
- Parameters
- Modifiers
- None of these
08. Which of the following attribute(s) are related to the font tag?
- Size
- Family
- Color
- All of the above
09. Which attribute is used with to display the text if the image could not load in the browser?
- Alt
- Description
- Meta
- All of the above
10. Which attribute is used with <td>> tag to merge cells horizontally?
- colspan
- merge cell
- merge row
- None of these
11. The text within <em> ... </em> tag is displayed as ___
- Bold
- Italic
- List
- Indented
12. <ul> ... </ul> tag is used to ____
- Display the numbered list
- Underline the text
- Display the bulleted list
- None of these
13. Which of the following tag(s) is used to display the large font size?
- <large> </large>
- <big> </big>
- <size> </size>
- <font> </font>
14. <script>...</script> tag can be placed within ___
- body
- header
- Both A and B
- None of these
15. <td> ... </td> tag is used for ___
- Table heading
- Table row
- Table Record
- None of these
16. Correct syntax in HTML for creating a link on a webpage
- <link src="https://example.com">
- <body link="https://example.com">
- <a src="https://example.com">
- <a href="https://example.com">
17. Which of the following is an attribute of the <table> tag?
- link
- src
- cellpadding
- bold
18. Which of the following tags are related to Table in HTML?
- <table><row><column>
- <table><tr><td>
- <table><head><body>
- <table><header><footer>
19. Is it possible to insert a table within another table?
- Yes, but there must be exactly 2 rows and 2 columns in the first table
- Yes, the table can be inserted into the cell of another table
- Yes, but there must be no border in the second table
- No, it's not possible
20. What is the use of alt attribute in <img> tag?
- Alternative text for an image
- Alternative source of an image
- Caption of an Image
- All of the above
21. Which of the following is the correct regarding meta tag in HTML?
- <meta> ... </meta>
- <meta name=" " />
- <metadata> ... </metadata>
- <metadata name=" ">
22. Which of the following is correct to align H1 tag to right alignment
- <h1 align="right"> ... </h1>
- <h1 alignment="right"> ... </h1>
- <h1 tag align="right"> ... </h1>
- None of these
23. Which of the following is correct to change font face in web page?
- <font="font name"> ... </font>
- <font name ="font name"> ... </font>
- <font face="font name"> ... </font>
- None of these
24. Which of the following is correct character entities for "Copyright"
- •
- Ÿ
- ©
- ³
25. Which tag is used to display preformatted texts?
- <pre> ... </pre>
- <prefor> ... </prefor>
- <pre text> ... </pre text>
- <pre format> ... </pre format>
26. HTML language is a set of markup ___
- Tags
- Sets
- Groups
- Attributes
27. HTML tags are used to describe document's ___
- Definition
- Language
- Content
- None of these
28. HTML document can contain
- Tags
- Plain text
- Attributes
- All of the above
29. The extension of HTML document is
- .htl
- .html
- .htlm
- .hmlt
30. Which of the following software(s) can read and render HTML documents?
- Server
- Compiler
- Interpreter
- Browser
31. PCs running window 3.x will have which of the following extension for HTML page?
- .htl
- .html
- .htm
- .hml
31. Who is the primary author of HTML?
- Brendan Eich
- Tim Berners-Lee
- Web Programmer
- Google Inc
32. HTML was first proposed in the year ___
- 1980
- 1990
- 1995
- 2000
33. HTML document contain one root tag called
- head
- title
- body
- html
34. Pick the odd out
- table
- tr
- td
- form
35. The first page of a website is called
- Design page
- Main page
- Home page
- First page
36. Which of the following connects web pages?
- Connector
- Link
- Hyperlink
- None of these
37. Title tag is nested within which of the following tag?
- body
- head
- meta
- div
38. What is Default extension for a HTML document?
- .htm
- .html
- Both A and B
- None of these
39. HTML comment begins with_____ symbol.
- <
- >
- <!
- !>
40. HTML comment ends with ______symbol.
- <
- >
- <! --
- -->
41. SGML stands for
- Standard Grand Markup Language
- Synchronized Generalized Markup Language
- Standard Generalized Markup Language
- Simple Generalized Markup Language
42. DTD stands in markup language for_______.
- Document Type Definition
- Data Type Definition
- Digital Type Definition
- Design Type Definition
43. DDL stands for ______
- Data Description Library
- Data Description Language
- Data Description Liberty
- Data Description License
44. The title to be displayed at the top of the browser window or browser tab is enclosed in_____ .
- < HTML > ... < =HTML >
- < HEAD > ... < =HEAD >
- < TITLE > ... < /T ITLE >
- < BODY > ... < =BODY >
45. In HTML, the two digit color code value ranges from 00 to_____ in hexadecimal.
- AA
- 11
- FF
- CC
46. ______tag is used to display different HTML pages in a single window (not recommended for mobile viewing).
- font
- frameset
- table
- img
47. Which HTML tag would be used to display power in expression (x + y)2?
- <sup>
- <sub>
- <b>
- <p>
48. What is the use of Forms in HTML?
- To display contents of email
- To display animation effect
- To collect user's input
- None of the above
49. Use of iframe in HTML?
- To display a web page within a web page
- To display a web page with an animation effect
- To display a web page without a browser
- All of the above
50. Default font size of HTML is
- 2
- 3
- 14
- 16
51. The Largest font size that can be displayed in a browser is
- 20
- 7
- 18
- 4
52. In order to upload a HTML file to a web server, we use
- HTTP
- SMTP
- UDP
- FTP
53. Which attribute adds space within the cells
- cell-spacing
- cell-padding
- cell-width
- cell-align
54. An ordered list is a ...... list and an unordered list is a ..... list.
- bulleted & numbered
- bulleted & tabular
- tabular & numbered
- numbered & bulleted
55. A web document is broken into sections. What are the tags called which create these sections?
- Structure tags
- HTML tags
- Heading tags
- body tags
0 Comments