WordPress.org

Ready to get started?Download WordPress

Forums

w3 validation errors-where to start? (8 posts)

  1. TekEss
    Member
    Posted 3 years ago #

    Rant a test this morning and came up with multiple errors, Problem is, is I have checked 20 different pages via ftp on my website, and cannot find one page that has the line referenced in the error log.

    Can someone take a quick look and tell me what file to start with that would contain one of these lines?

    Im using notepad +++

    Thanks!

    here is my error link

  2. TekEss
    Member
    Posted 3 years ago #

  3. Root
    Member
    Posted 3 years ago #

    The good news is all the errors are pretty much one error repeated. ie no alt tag in yr images.

  4. TekEss
    Member
    Posted 3 years ago #

    Yea, Ive been reading about it this am...glad thats the case, but I still not sure what/where to change

  5. TekEss
    Member
    Posted 3 years ago #

    ok, I know one of the images needs this added
    alt="Date"

    I know that this is the image called that needs the alt attribute
    wp-content/themes/mytheme/images/date.png">

    Im pretty sure it needs to look like this when edited
    wp-content/themes/mytheme/images/date.png" alt="Date">

    However, I have absolutely no idea, nor am I having any luck, finding this piece of code to edit anywhere...

  6. Marvel Labs
    Member
    Posted 3 years ago #

    hey Buddy,

    You need to check out the code of the theme blackshades,
    go to appearance>editor in your dashboard and check out all the files.

    Where ever you find <img> tag, make sure you got alt defined like this
    <img src="" alt="image caption or name"> </img>

    Check the following links for more details :
    http://www.w3schools.com/tags/tag_img.asp
    http://www.w3schools.com/CSS/css_image_gallery.asp

    Hope that helps :)

  7. TekEss
    Member
    Posted 3 years ago #

    Thanks, I think Ive finally found the line to edit, but havent exactly found the correct placement. Can you/anyone show me show me exactly how to add alt attribute in this line? Cause when I try, it dont work

  8. "><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 2px 0 0; vertical-align:middle;" />RSS Feed>
  • Marvel Labs
    Member
    Posted 3 years ago #

    Your Code
    <img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 2px 0 0; vertical-align:middle;" />RSS Feed>
    Modified Code
    <img src="<?php bloginfo('template_url'); ?>/images/rss.png" alt="RSS Feed" style="margin:0 2px 0 0; vertical-align:middle;" />RSS Feed>

    Compare the 2 and you will know what to do!

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.