What's dose for attribute do in HTML

Tags are the primary component of the HTML that defines how the content will be structured/ formatted, whereas Attributes are used along with the HTML tags to define the characteristics of the element. For example, <p align=” center”>Interview questions

, in this the ‘align’ is the attribute using which we will align the paragraph to show in the center of the view.