Html miscellaneous
- Which of the following attribute is used to display date/time content?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
To provide both human and machine-friendly date/time content, the element supports a datetime attribute, which should be set to the previously mentioned date format of YYYY-MM-DDThh:mm:ssTZD. Time tag defines date and time (human readable) while datetime tag display machine readable date/time.
- ____________ contains the navigation menu, or other navigation functionality for the page.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The nav element is for marking up the navigation links or other constructs (eg a search form) that will take you to different pages of the current site, or different areas of the current page. Header contains section of headings. Section element is used to make sections in document. 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.
- Which element may be used within content to represent material that is tangential?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
<cite> tag defines the title of work. The class attribute specifies one or more class names to HTML. An article tag is similar to <section> or <header> which contains information. 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.
- HTML5 documents may contains a ___________ element, which is used to set the header section of a document.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Section element is used to make sections in document. The copyright/footer information is provided by footer element in HTML5. A header for document section is given by header element. The header tag is used to contain the header content of a site.
- Which element is used to define a discrete unit of content such as a blogpost, comment, and so on?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
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.