1.

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) mediaI have been asked this question during an internship interview.The origin of the question is HTML5 Document Structure Changes in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML

Answer»

Right choice is (c) ARTICLE

Easiest explanation: Sections in document is made by the section tag. The class attribute specifies one or more class names to HTML. An article element is SEMANTIC element and it contains a standalone piece of CONTENT that would make sense if syndicated as an RSS ITEM, for example a news item.



Discussion

No Comment Found

Related InterviewSolutions