HTML5 tag section

A section is a container for thematic content group. This is different of the div container which is applied for any content with various styling. Generally a section has an header tag.

Usual attributes

Attribute name Attribute value
class Set a value for CSS rules. The CSS rule will be applied to all tags with the same class name
id Set a unique value, it is useful for JavaScript or for CSS rule. For CSS it will be applied only for this tag
style Set a CSS value. It has always priority for general CSS rules. Sample : "background-color:red;color:white"