Test Series - html

Test Number 55/72

Q: Header element does not contain ___________
A. logo
B. 
C. heading elements
D. authorship information
Solution: 
element contains one or more than one heading elements, authorship information, logo or icon.
tag can’t be placed inside
or
or inside another
element.
Q: Which element contains major navigational block?
A. 
B. 
C. 
D. 
Solution: The major navigational blocks on site like primary site navigation is contained by 
Q: Which element represents self-contained composition in document?
A. 
B. 
C. 
D. 
Solution: A self-contained composition in document, application, page or site that is intended to be independently distributable is represented by 
element. Some of the examples are a magazine or newspaper article or a forum post, or a blog entry.
Q: Which of the following element is used as a container for content?
A. 
B. 
C. 
D. 
Solution: 
Q: Which element groups related content together?
A. 
B. 
C. 
D. 
Solution: Grouping of related content together is done by 
element. Each section will have its own heading. This element should not be used as wrapper for entire page. If we wish of containing a element for entire page, this will be best done by
element. Footer typically contains information about author of the section, links to related documents or copyright data.
Q: For grouping together one or more 

to

element what element is used?
A. 
B. 
C. 
D. 
Solution: For grouping together set of one or more 

to

element we use
element. We can group together the primary heading and the subheading. E.g.

Winter is coming!

Its too cold

. Grouping of related content together is done by
element. For grouping together related elements we use
element. An introductory content lies in
.
Q: Which element is used for grouping together related elements?
A. 
B. 
C. 
D. 
Solution: For grouping together related elements we use 
element. Anything that lies outside of
,
Q: Which browser was the first that allows CSS rules to be associated with new HTML5 layout elements?
A. Internet Explorer 9
B. Internet Explorer 7
C. Chrome
D. Firefox
Solution: Internet Explorer was the first version that allowed CSS rules to be associated with new HTML5 layout elements. Older browsers that do not know new HTML5 elements will by default treat them as inline elements.
Q: Which element is used for or styling HTML5 layout?
A. PHP
B. JavaScript
C. CSS
D. jQuery
Solution: For styling HTML5, CSS i.e Cascading Style Sheet is used. It is style sheet language and designed to describe presentation of its content including layouts, colors and fonts. CSS can control the layout of multiple web pages.
Q: Which syntax will cause IE to recognize section element?
A. getElementById(“section”)
B. createElement.document(“section”)
C. document.createElement(“section”)
D. document.createElement(“
”)
Solution: document.createElement(“section”) will cause Internet Explorer to recognize section element all of a sudden. There is no any reason behind this working but it works. We do not even need to use node that is returned by that function.

You Have Score    /10