Title: HTML does not validate, duplicate CSS IDs
Last modified: August 22, 2016

---

# HTML does not validate, duplicate CSS IDs

 *  [vision-hive](https://wordpress.org/support/users/vision-hive/)
 * (@vision-hive)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/html-does-not-validate-duplicate-css-ids/)
 * Run any site through the W3C Validator and you will get possibly hundreds of 
   errors because there are duplicate instances of object IDs (mega-menu-item-xxx).
 * Please remedy this? There should *never* be duplicate IDs in any HTML – the whole
   point of an ID is that it is *unique*. If you need multiple items to have the
   same properties use a class!
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/html-does-not-validate-duplicate-css-ids/#post-5819117)
 * “Run any site through the W3C Validator and you will get possibly hundreds of
   errors because there are duplicate instances of object IDs (mega-menu-item-xxx).”
 * That isn’t true. I’m aware ID’s need to be unique.
 * Are you outputting the same menu on the same page more than once?
 * Have you tried disabling Max Mega Menu and revalidating your site? I suspect 
   you will see the exact same errors.
 *  [Melchi Razato](https://wordpress.org/support/users/razato/)
 * (@razato)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/html-does-not-validate-duplicate-css-ids/#post-5819269)
 * Maybe this issue happens when in multi-site.
    I have the same issue.
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/html-does-not-validate-duplicate-css-ids/#post-5819270)
 * Please post a link to your site so I can take a look 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML does not validate, duplicate CSS IDs’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

## Tags

 * [duplicate ID](https://wordpress.org/support/topic-tag/duplicate-id/)
 * [invalid html](https://wordpress.org/support/topic-tag/invalid-html/)
 * [w3c validator](https://wordpress.org/support/topic-tag/w3c-validator/)

 * 3 replies
 * 3 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/html-does-not-validate-duplicate-css-ids/#post-5819270)
 * Status: not resolved