HTML MCQ Quiz & Online Test

  1. Correct HTML Tag For The Largest Heading Is
  2. Which of following is not an attribute of <form> tag
  3. HTML Is A Subset Of
  4. ALL HTML Tags Are Must Be Enclosed In?
  5. The BODY Tag Is Usually Used After
  6. Choose The Correct HTML Tag To Make A Text Italic
  7. Gif And Jpg Are The Two Main Types Of What ?
  8. To Start A List Using Circles, Use
  9. A Much Better Approach To Establish The Base URL Is To Use The ______ Element.
  10. Which Is Not A Property Of Attribute Behaviour Of <Marquee> Tag?
  11. A Simple Text File Which Tells The Browser What To Cache Is Known As A ________.
  12. Which HTML Tag Is ssed to define A Client - Side Script Such as The Javascript?
  13. Which tag is used to create a checkbox in HTML?
  14. Which attribute sets the text direction as related to lang attribute.

Take HTML Quiz To test your Knowledge 

Below are few HTML MCQ test that checks your basic knowledge of HTML Framework. This HTML Test contains around 48 questions of multiple choice type with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link.

Also, Read Best HTML interview questions.

Html MCQ

1. Correct HTML Tag For The Largest Heading Is

  • <h6>
  • <heading>
  • <h1>
  • <head>

2. Which of following is not an attribute of <form> tag

  • Action
  • Method
  • name
  • url
View Answer

3. HTML Is A Subset Of

  • SGML
  • SGMD
  • None Of These
  • SGMT

4. ALL HTML Tags Are Must Be Enclosed In?

  • ? And !
  • < And >
  • { And }
  • # And #
View Answer

5. The BODY Tag Is Usually Used After

  • EM Tag
  • TITLE Tag
  • HEAD Tag
  • HTML Tag
View Answer

6. Choose The Correct HTML Tag To Make A Text Italic

  • <italic>
  • <it>
  • <il>
  • <i>

7. Gif And Jpg Are The Two Main Types Of What ?

  • Videos
  • Images
  • None Of The Above
  • Animated Effects
View Answer

8. To Start A List Using Circles, Use

  • <ul Type="circle">
  • <ul Type="round">
  • <ul ="round">
  • <ul "round">
View Answer

9. A Much Better Approach To Establish The Base URL Is To Use The ______ Element.

  • BODY
  • BASE
  • None Of The Above

10. Which Is Not A Property Of Attribute Behaviour Of <Marquee> Tag?

  • Blur
  • Scroll
  • Slide
  • Alternate
View Answer

11. A Simple Text File Which Tells The Browser What To Cache Is Known As A ________.

  • Input Files
  • Output Files
  • A Manifest File
  • HTML File
View Answer

12. Which HTML Tag Is ssed to define A Client - Side Script Such as The Javascript?

  • <unscript>
  • <script>
  • Both Above
  • None Of The Above
View Answer

13. Which tag is used to create a checkbox in HTML?

  • <checkbox>
  • < Input type = "checkbox">
  • <cb>
  • < Input type = "checkbox">
View Answer

14. Which attribute sets the text direction as related to lang attribute.

  • Sub
  • Lang
  • Ds
  • Dir

15. Which html attribute is used to provide an advisory text about an element or Its contents.

  • Dir
  • Title
  • Tooltip
  • None of the above
View Answer

16. Which Of the following class centers tabs/pills?

  • .nav-justified
  • .nav-stacked
  • .nav Nav-pills
  • .nav.navbar-nav
View Answer

17. Which Of The Following Aligns Media Objects?

  • Media
  • Medilist
  • Mediobject
  • Medibody
View Answer

18. Which Of The Following Will Provide Additional Information About Something?

  • Jumbotron
  • Label
  • Label-danger
  • Item

19. Which Of The Following Will Create Hamburger Menu?

  • Icon-bar
  • Icon-prev
  • Img-circle
View Answer

20. Which Of The Following Is For Title Of The Modal?

  • Modal-title
  • Modal-open
  • Modal-lg
View Answer

21. Which Of The Following Adds Checkmark Icon Inside Input?

  • Help-block
  • Has-success
  • Has-feedback
View Answer

22. Which Tag Is Used If You Want To Indicate The Importance Of The Phrase?

  • <h1>
  • <em>
  • <strong>

23. __________ Is The XML Equivalent To Strict HTML 4.01.

  • XHTML 1.0 Frameset
  • XHTML 1.0 Transitional
  • None Of The Mentioned
View Answer

24. Which Of The Following Encoding An XML Parser Assumes ?

  • UTF-16
  • UTF-32
  • Both UTF-8 And UTF-32

25. HTML Is What Type Of Language ?

  • Scripting Language
  • Markup Language
  • Programming Language
  • Network Protocol
View Answer

26. HTML Uses

  • Fixed Tags Defined By The Language
  • User Defined Tags
  • Pre-specified Tags
  • Tags Only For Linking
View Answer

27. All Elements Are Identified By Their __________ And Are Marked Up Using Either Start Tags And End Tags Or Self-closing Tags

  • Attribute Name
  • Class Name
  • Tag Name
  • None Of The Mention
View Answer

28. The __________ Element Represents A Span Of Text That Is Isolated From Its Surroundings For The Purposes Of Bidirectional Text Formatting

  • B
  • Bdi
  • Bdo
  • Base

29. Which Of The Following Element Marks The Ruby Text Component Of A Ruby Annotation?

  • Rubytxt
  • Ruby
  • Rt
  • R

30. Which Element Represents A Control For Generating A Public-private Key Pair?

  • Keygen
  • Ins
  • Key
  • Command

31. Apart From <b> Tag, What Other Tag Makes Text Bold ?

  • <emp>
  • <black>
  • <fat>
  • <strong>
View Answer

32. Who Is Known As The Father Of World Wide Web (WWW)?

  • Robert Cailliau
  • Tim Berners-Lee
  • Tim Thompson
  • Charles Darwin
View Answer

33. How Can You Make A Bulleted List With Numbers?

  • <dl>
  • <list>
  • <ol>
  • <ul>

34. What Should Be The First Tag In Any HTML Document?

  • <html>
  • <head>
  • <title>
  • <document>

35. What Tag Is Used To Display A Picture In A HTML Page?

  • Picture
  • Img
  • Src
  • Image

36. HTML Web Pages Can Be Read And Rendered By

  • Compiler
  • Server
  • Web Browser
  • Interpreter
View Answer

37. HTML Tags Are Surrounded By Which Type Of Brackets.

  • Curly
  • Round
  • Squart
  • Angle

38. Which Of The Following Attribute Triggers Event When An Element Gets User Input?

  • Ondata
  • Onhaschange
  • Oninput
  • Onloadeddata
View Answer

39. Intensity Of A Color Can Be Described Through

  • Hue
  • Saturation
  • Lightness
  • Grayscale
View Answer

40. HTML Links Are Defined With <a> Tag And Address Is Specified By Attribute

  • Href
  • Hlink
  • Src
  • Src-link

41. How Can You Create An E-mail Link?

  • <a Href="a@b">
  • <mail>a@b</mail>
  • <a Href="mailto:a@b.com">
  • <mail Href="a@b">
View Answer

42. What Is The Correct HTML For Creating A Hyperlink?

  • <a Href="http://www.example.com">example</a>
  • <a Name="">A</a>
  • <a Url="http://www.example.com">example</a>
  • <a>B</a>
View Answer

43. What Is The Correct HTML Tag For Inserting A Line Break?

  • <break />
  • <br />
  • <lb />
  • <nbsp>

44. Which Are The Objects Used For Storing Data On The Client Provided By The HTML Local Storage?

  • Window.localStorage
  • Window.sessionStorage
  • Window.localSession
  • Both A & B
View Answer

45. Which HTML Element Is Used To Define The Description Data?

  • <dt>
  • <dd>
  • <li>
  • <dl>

46. Which Of The Following Is A Declaration For An HTML Document?

  • <html>.....</html>
  • <!DOCTYPE Html>
  • <body>.....</body>
  • <p>.....</p>
View Answer

47. If You Want To Change The Text Colour To Red Which Of The Following Tags Will You Use?

  • < Body Text = Red>
  • < Body Bgcolour = Red>
  • < Body Colour = Red>
  • None Of The Above
View Answer