The most widely used attribute is core attributes. There are 4 types of core attributes:
This is the most widely used attribute. The id attribute is used to give a unique id to an HTML element. Each element in HTML with an id attribute has its own unique identity, just as each of us has our own unique identity. Multiple elements can’t share the same id.
For Example:
<p id="html"> This is HTML tutorials <p>
<p id="python"> This is Python tutorials <p>
For Example:
<h4 title="hello, metto"> Title Attribute <h4>
Output:
Title Attribute