Attributes in HTML5

Attributes in HTML5
Rating: 5 - 1 Votes

Attributes in HTML5

htmlAttributes in HTML give additional information about an element.  An element can have one or more attributes.  These attributes are placed inside a starting tag.  These attributes can also be seen as additional feature of an element.  For example, a body tag can have bgcolor attribute which will change the entire background of an HTML document and can make your web page look more attractive to a user.  Example is given below.