Top reasons for using application-wide unique IDs in HTML

There are many advantages to using ID attributes in your HTML that are unique not only to a page, but unique to the entire app.

This is especially more useful while working on someone else’s project. Whenever styles for a specific ID are changed, one can be sure that the new styles won’t be affecting any of the elements on other pages.

Application-wide unique IDs also help reduce testing time and efforts. One doesn’t have to check the entire app to be sure that they haven’t messed up anything due to their recent changes.

Advertisements

3 thoughts on “Top reasons for using application-wide unique IDs in HTML

  1. Your way of telling the whole thing in this post
    is really nice, every one be capable of easily know it, Thanks
    a lot. Top reasons for using application-wide unique IDs in HTML | Aniket Suryavanshi | Blog is a compelling would love to have more
    related to this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s