Title: HTML Validator error
Last modified: July 5, 2021

---

# HTML Validator error

 *  [helvetica123](https://wordpress.org/support/users/helvetica123/)
 * (@helvetica123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/html-validator-error-5/)
 * Hi, your plugin is awesome but there is a simple error.I will sell my theme on
   themeforest so the error is important for me.Its simply, html validator error.
   The plugin is wp-mega menu.
 * the error:
 * Bad value 291px for attribute width on element img: Expected a digit but saw 
   p instead.
 * you know solution is simply, writing only width and height numbers instead of
   using after numbers.
 * to give better explanation: please dont use “291px” for width or height. please
   use only “291” on html result.
 * the problem exists for brand logo width and height.
 * you can check my website:
    _[ redundant link removed ]_
 * [https://validator.w3.org/](https://validator.w3.org/)
 * I want to submit my theme on monday so I hope you will solve this problem asap.
 * thank you
    -  This topic was modified 4 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-validator-error-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [helvetica123](https://wordpress.org/support/users/helvetica123/)
 * (@helvetica123)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/html-validator-error-5/#post-13690902)
 * also the other validator error is : [https://i.ibb.co/gFmPM5b/image.png](https://i.ibb.co/gFmPM5b/image.png)
 *     ```
       Error: Element a is missing required attribute href.
   
       From line 1250, column 165; to line 1250, column 184
   
       nu-right"><a target="_blank" ><i cla
   
       Attributes for element a:
       Global attributes
       href — Address of the hyperlink
       target — Browsing context for hyperlink navigation
       download — Whether to download the resource instead of navigating to it, and its file name if so
       ping — URLs to ping
       rel — Relationship between the location in the document containing the hyperlink and the destination resource
       hreflang — Language of the linked resource
       type — Hint for the type of the referenced resource
       referrerpolicy — Referrer policy for fetches initiated by the element
       ```
   
 * [https://i.ibb.co/ssSJZwL/image.png](https://i.ibb.co/ssSJZwL/image.png)

Viewing 1 replies (of 1 total)

The topic ‘HTML Validator error’ is closed to new replies.

 * ![](https://ps.w.org/wp-megamenu/assets/icon-256x256.jpg?rev=2451874)
 * [WP Mega Menu](https://wordpress.org/plugins/wp-megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-megamenu/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [helvetica123](https://wordpress.org/support/users/helvetica123/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/html-validator-error-5/#post-13690902)
 * Status: not resolved