WordPress.org

Forums

Several Coding Errors on Page - Don't know how to fix (2 posts)

  1. Koofa
    Member
    Posted 1 year ago #

    Hello everyone. I'm not sure if I'm posting in the right forum, but I hope so. I don't know if anyone can help me, I'm completely new and have no knowledge of coding of any sorts, but I just bought a template and I'm having trouble installing my Disqus comments so I checked the W3C site to make sure my page was in order to install the Disqus comments manually, but I've got a whole bunch of errors. I have no idea where to go to fix them and how to fix them.. I'm wondering if someone can help me figure out what exactly they mean and if they're easy fixes or not? I would greatly appreciate any input on this. Thank you so much.

    Validation Output: 13 Errors

    Error Line 14, Column 15: Element title must not be empty.

    <title></title>


    Error Line 59, Column 122: Bad value http://fonts.googleapis.com/css?family=Pathway+Gothic+One|Open+Sans:400,300 for attribute href on element link: Illegal character in query: not a URL code point.

    …?family=Pathway+Gothic+One|Open+Sans:400,300' rel='stylesheet' type='text/css'>

    Syntax of IRI reference:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

    Error Line 65, Column 10: Element hgroup not allowed as child of element header in this context. (Suppressing further errors from this subtree.)

    <hgroup>

    Content model for element header:
    Flow content, but with no header, footer, or main element descendants.

    Error Line 65, Column 10: The hgroup element is obsolete. To mark up subheadings, consider either just putting the subheading into a p element after the h1-h6 element containing the main heading, or else putting the subheading directly within the h1-h6 element containing the main heading, but separated from the main heading by punctuation and/or within, for example, a span class="subheading" element with differentiated styling. To group headings and subheadings, alternative titles, or taglines, consider using the header or div elements.

    <hgroup>


    Error Line 243, Column 98: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

    …w.bonjourbeautyblog.com/wp-content/uploads/2014/04/Pretty-in-Pink-Round-4.png">


    Error Line 246, Column 8: The center element is obsolete. Use CSS instead.

    <center><img src="http://www.bonjourbeautyblog.com/wp-content/uploads/2014/04/n…


    Error Line 246, Column 89: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

    …ttp://www.bonjourbeautyblog.com/wp-content/uploads/2014/04/note2.png"></center>


    Error Line 272, Column 258: & did not start a character reference. (& probably should have been escaped as &.)

    …idget/subscribers_pink.php?id=12087361&lang=en" alt="Follow on Bloglovin" bord…


    Warning Line 272, Column 304: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.

    …s_pink.php?id=12087361&lang=en" alt="Follow on Bloglovin" border="0"></div>


    Error Line 275, Column 94: & did not start a character reference. (& probably should have been escaped as &.)

    …N8MnwyfHxub3w1fG5vbmV8b25TdGFydHx5ZXM=&v=9414" title="Instagram Widget" allowT…


    Error Line 275, Column 247: The allowtransparency attribute on the iframe element is obsolete. Use CSS instead.

    …="no" style="border:none; overflow:hidden; width:236px; height:236px"></iframe>


    Error Line 275, Column 247: The frameborder attribute on the iframe element is obsolete. Use CSS instead.

    …="no" style="border:none; overflow:hidden; width:236px; height:236px"></iframe>


    Error Line 275, Column 247: The scrolling attribute on the iframe element is obsolete. Use CSS instead.

    …="no" style="border:none; overflow:hidden; width:236px; height:236px"></iframe>


    Error Line 312, Column 15: End tag br.

    © 2014 </br>

  2. mdmcginn
    Member
    Posted 8 months ago #

    I still see some of those errors on your website. Make sure you're always providing an alt attribute for your images. Other than that, it looks like problems with your theme and/or your plugins. To narrow down the problem, you could try disabling a plugin, running your site through the W3C validator, then seeing if any of the errors disappear. Then you could report the errors to the appropriate plugin or theme creators.

Topic Closed

This topic has been closed to new replies.

About this Topic