1. Which of the following HTML 4 attributes is removed in HTML5? A. text B. rules C. link D. all of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D Solution: All the mentioned attributes are deprecated in HTML5.
2. Which of the following element is removed by HTML5? A. vlink B. dir C. marginwidth D. compact Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: dir is rarely used, and provides similar functionality to unordered lists.
3. Which of the following is not a newly added element in HTML5? A. article B. audio C. nav D. frameset Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D Solution: frameset is usability concerns.
4. __________ defines the accelerator key to be used for keyboard access to an element. A. data-X B. accesskey C. rp D. command Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: The accesskey attribute specifies a shortcut key to activate/focus an element.
5. Which of the following element represents the header of a section or the document and contains a label or other heading information for the related content? A. data-X B. header C. mark D. meter Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: The header element represents a container for introductory content or a set of navigational links.
6. Which of the following element sets is an item of microdata? A. itemscope B. itemref C. itemtype D. none of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The itemscope attribute is a boolean attribute. An element with the itemscope attribute specified creates a new item, a group of name-value pairs.
7. ___________ defines a group of content that should be used as a figure and may be labeled by a legend element. A. figure B. details C. output D. aside Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The figure tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
8. Which element is used to define a discrete unit of content such as a blogpost, comment, and so on? A. section B. class C. article D. none of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: The article tag contains a standalone piece of content that would make sense if syndicated as an RSS item, for example a news item.
9. HTML5 documents may contains a ___________ element, which is used to set the header section of a document. A. header B. footer C. section D. none of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The header tag is used to contain the header content of a site.
10. Which element may be used within content to represent material that is tangential? A. aside B. cite C. article D. class Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A Solution: The aside tag defines a block of content that is related to the main content around it, but not central to the flow of it.