WordPress.org

Forums

NoFollowr
[resolved] Code fails W3C validation (2 posts)

  1. websupportguy
    Member
    Posted 1 year ago #

    The following code generated by Followr plugin fails W3C code validation:

    <link rel="stylesheet" href="/wp-content/plugins/nofollowr/css/NoFollowr-min.css?ver=1.0.3">

    It is missing a closing "/>".

    Is there some reason why it's written this way? How can I fix it in my code? Will you fix it in the next version?

    Thanks, Tony

    https://wordpress.org/plugins/nofollowr/

  2. joel_birch
    Member
    Plugin Author

    Posted 9 months ago #

    Omitting the closing slash on a self-closing element is valid HTML5. Please see this Stack Overflow answer (plus official spec references it provides).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NoFollowr
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic