Take HTML5 Online Test and evaluate your readiness before you appear for any interview or written test. Consisting of objective type questions from various important concepts of HTML5, this test presents you questions followed by four options. The correct answer, explanation, example provided with each question make it easier for you to to understand each concept well.
Who is this HTML5 Online Test designed for?
All the Front End developers, UI/ UX developers and designers will find this test extremely useful. All freshers, BCA, BE, BTech, MCA and college students wanting to make a career in front end designing will be highly benefitted by this test.
HTML5 Online Test topics
This online test covers topics like - Attributes, Events, SVG, MathML, Web Storage, Web SQL, WebSocket, Canvas, Audio and Video, Geolocation, Microdata, Web Workers, IndexedDB, Web Messaging, Modernizr etc.
1. HTML5 attributes are case insensitive and may be written in all upper case or mixed case.
Answer: a. True
Explanation: The above statement is true. HTML5 attributes are case insensitive and may be written in all upper case or mixed case. Although lower case is commonly used and is the most common convention.
2. The default character encoding in HTML5 is.
Answer: c. UTF-8
Explanation: The default character encoding in HTML5 is UTF-8. UTF-8 covers almost all of the characters and symbols in the world.
3. Which among the following tags define a caption for a <fieldset> element?
Answer: c. <legend>
Explanation: The <fieldset> tag is used to group related elements in a form and draws a box around the related elements. The <legend> tag defines a caption for the <fieldset> element.
4. A next-generation bidirectional communication technology for web applications is.
a. Persistent local storage
c. Forms 2.0
d. Server-Sent Events
Answer: b. WebSocket
5. Is WebSQL a part of HTML5 specification?
Answer: b. No
Explanation: No, WebSQL database is not a part of HTML5 specification but it is a separate specification which introduces a set of APIs to manipulate client-side databases using SQL.
6. Abbreviate the term SVG.
a. Simple Velocity Graphics
b. Simple Vector Graph
c. Scalable Vector Graphics
d. System Vector Graphics
Answer: c. Scalable Vector Graphics
Explanation: SVG stands for Scalable Vector Graphics. SVG is used to define vector-based graphics for the Web and it has several methods for drawing paths, boxes, circles, text, and graphic images.