What are the attributes of HTML Tag?

slide 5

HTML Tag attributes

Attributes can be added to HTML tags. An attribute is defined as an additional feature that can be added to the HTML elements on your web page. For example, by using align=”right” attribute, you can align your text to the right side of your web page.

The tag tells the web browser what to do and the attribute tells the browser how to do it.