Title: Markup validation errir
Last modified: August 22, 2016

---

# Markup validation errir

 *  [GorgeousCreative](https://wordpress.org/support/users/gorgeouscreative/)
 * (@gorgeouscreative)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/markup-validation-errir/)
 * Hi,
 * I’ve been doing some markup validation on [this site](http://www.regaldrycleaners.co.nz/)
   and I’m getting this error on all the menu items with the `m_PageScroll2id` attribute.
 * **Bad value m_PageScroll2id for attribute rel on element a: The string m_pagescroll2id
   is not a registered keyword.”**
 * Any clues as to what could be causing this?
 * Thanks,
 * Sandra
 * [https://wordpress.org/plugins/page-scroll-to-id/](https://wordpress.org/plugins/page-scroll-to-id/)

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/markup-validation-errir/#post-5893643)
 * Hello,
 * This happens because in HTML5 the rel attribute value is supposed to be only:
    - [Link types](http://www.w3.org/TR/html5/links.html#linkTypes)
    - [Microformats](http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions)
 * The plugin is using the rel attribute (instead data for example) because in WordPress
   you can easily add a rel value in wp menus and the editor (not the case with 
   HTML5 data attributes which do not exist in wp menus and are stripped from the
   editor).
 * You shouldn’t worry about this. It’s just a validation error with zero effect
   in functionality (neither wordpress.org or google.com validates).
 * Hope this helps as to why the validation error occurs.
 *  Thread Starter [GorgeousCreative](https://wordpress.org/support/users/gorgeouscreative/)
 * (@gorgeouscreative)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/markup-validation-errir/#post-5893644)
 * Lovely! Thanks for the quick reply!

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

The topic ‘Markup validation errir’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [GorgeousCreative](https://wordpress.org/support/users/gorgeouscreative/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/markup-validation-errir/#post-5893644)
 * Status: not a support question