08-01-2013, 22:42
No właśnie:
There is some controversy surrounding the HGROUP element because some members of the WHATWG and W3C (the people writing the HTML5 standard) do not believe that it is a useful element and would like to have it removed from the specification. If you use the HGROUP element and want to keep your documents valid HTML5, you should pay some attention to the specification, but it’s a good possibility that the element will make it into the final draft. It is part of the working draft as of November 2011, and even with the controversy, I don’t think it will be removed.
Później masz taki przykład:
Czyli rozumiem, że pierwsze h1-h2 idzie w hgroup a reszta już nie? Troszkę to głupie. To już imo lepiej h2 w header a reszta normalnie. Potem np od drugiego h2 idzie kolejny article itp.
There is some controversy surrounding the HGROUP element because some members of the WHATWG and W3C (the people writing the HTML5 standard) do not believe that it is a useful element and would like to have it removed from the specification. If you use the HGROUP element and want to keep your documents valid HTML5, you should pay some attention to the specification, but it’s a good possibility that the element will make it into the final draft. It is part of the working draft as of November 2011, and even with the controversy, I don’t think it will be removed.
Później masz taki przykład:
Kod:
<h1>This is the Page Headline</h1>
<h2>My First Article</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h3>A Subhead for the Article</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h3>A Second Subhead</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h2>My Second Article</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
Czyli rozumiem, że pierwsze h1-h2 idzie w hgroup a reszta już nie? Troszkę to głupie. To już imo lepiej h2 w header a reszta normalnie. Potem np od drugiego h2 idzie kolejny article itp.