Top HTML and HTML5 One Liner Questions and Answers


Here is the top collection of basic HTML and HTML5 questions and answers, which are frequantly asked in government competative exams or in interviews. We have cover all basic topics like fonts, tags and element and also advanced HTML 5 questions.


Q 91. How to set a image as background in <body> tag ?
Ans. Using 'background' attribute
Q 92. Which audio format are supported all browsers in HTML5 ?
Ans. .mp3, .m4aAAc and H.264
Q 93. Which protocol supported by Android browsers ?
Ans. HLS
Q 94. ________ can be used to advise the browser to download media content in the background to improve playback ?
Ans. Auto buffer
Q 95. The element _______ simply groups items with in enclosed 'dd' tag, through it may associate them with a caption defined by a 'dt' tag ?
Ans. Object
Q 96. Which element may used with in content to represent matrial that is tangential ?
Ans. Aside
Q 97. Which element is used to define a discrete unit of content such as a blogpost, comment and so on ?
Ans. Class
Q 98. Which element sets is an item of microdata ?
Ans. Itemscope
Q 99. _______ defines the accelerator key to be used for keyboard access to an element ?
Ans. Access key
Q 100. Which four attributes is removed in HTML5 ?
Ans. text, rules, link and dir
Free Mock Test
Follow us on Facebook