What are attributes in HTML?

Table of contents

No heading

No headings in the article.

Attributes are the additional information that are provided to change the behavior of the tag. It is placed after the name of the tag and it will be inside the angular brackets. It will never appear in closing tags, but it will appear in opening tags.

For example: - align is an attribute which is used in many tags for the alignment on the web page.