Attributes with name value pairTo give more detail about the element we can use attributes. We give more details about the element by using attributes. All attributes will have name and value. Where value are kept within quotes. Here is an example. For each member we can have two address , one is residential and other is official.
In the above code attribute gives us idea on type of data the element is having.