# Adding unique class names to to the elements in the topic map

**URL:** <https://meta.discourse.org/t/adding-unique-class-names-to-to-the-elements-in-the-topic-map/29424>\
**Category:** Feature\
**Tags:** topic-map\
**Created:** [May 29, 2015, 5:30pm UTC](https://meta.discourse.org/t/adding-unique-class-names-to-to-the-elements-in-the-topic-map/29424 "2015-05-29T17:30:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anon80392659](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@anon80392659](https://meta.discourse.org/u/anon80392659)\
**Post date:** [May 29, 2015, 8:59pm UTC](https://meta.discourse.org/t/adding-unique-class-names-to-to-the-elements-in-the-topic-map/29424/5 "2015-05-29T20:59:05Z")

</div>

> [@codinghorror](#):
>
> every single element on the page

He’s not asking for every single element to have a unique class… just the parents of the ones that have unique functions.

Well, up until this part…

> [@OnceWas](#):
>
> It would be very helpful, as a general development principle, to make sure to add unique classes or ids to HTML elements whenever possible.

then he goes overboard and should be ignored.

What would make more sense is

> [@](#):
>
> It would be very helpful, as a general development principle, to make sure to add unique classes or ids to the top level of each element that has a unique display/interactive purpose.

---

_[View the full topic](https://meta.discourse.org/t/adding-unique-class-names-to-to-the-elements-in-the-topic-map/29424)._
