TECHSITH = Technology Simple Intuitive Tutorial Home

HTML tutorial

Difference between id and class attributes in html

Difference between id and class attributes in html

Difference between id and class attributes in html Writing attributes ID and class are attributes in HTML, they are predefined attributes meaning that they have specific meaning within HTML language. Just like any other attributes in HTML, you would write id and class in key value pair format like this: key=“value” Example [code language=”HTML”] <p …

Difference between id and class attributes in html Read More »

Scroll to Top