Title: Invalid HTML
Last modified: August 31, 2016

---

# Invalid HTML

 *  [sparky672](https://wordpress.org/support/users/sparky672/)
 * (@sparky672)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/invalid-html-8/)
 * There are two elements being rendered with the same `id` called `main-nav`. Same
   problem with `site-navigation`.
 * For anyone unfamiliar with HTML & JavaScript programming, having two `id`‘s on
   the same page using the same name is non-compliant (invalid) HTML and can lead
   to future problems and unpredictable rendering across browsers.
 * Running the site through the W3C HTML Validation tool reveals these errors and
   more.

The topic ‘Invalid HTML’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/responsiveboat/1.1.5/screenshot.
   png)
 * ResponsiveBoat
 * [Support Threads](https://wordpress.org/support/theme/responsiveboat/)
 * [Active Topics](https://wordpress.org/support/theme/responsiveboat/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/responsiveboat/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/responsiveboat/reviews/)

## Tags

 * [invalid html](https://wordpress.org/support/topic-tag/invalid-html/)

 * 0 replies
 * 1 participant
 * Last reply from: [sparky672](https://wordpress.org/support/users/sparky672/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/invalid-html-8/)
 * Status: not resolved