Attributes 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.