1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

W3C validator message does not make sense

Discussion in 'Search Engine Optimization' started by Paulo Sebin, May 10, 2017.

  1. #1
    Hello.
    I'm doing consulting for an online stationery in Brazil. I have a question that does not make sense to me. According to the W3C, for almost every page of the site, HTML does not follow a particular prairie. The error message is as follows:

    Error: Element img is missing required attribute src.

    From line 942, column 173; to line 942, column 273

    ecotank" ><img class="owl-lazy" data-src="https://www.ohe.com.br/banners/86/ecotank.jpg" alt="Epson ecotank" /></a>


    But it does not make sense when analyzing the code. Could someone clarify me better if I should worry about this situation?

    If it is necessary to view the source code, the site in question is https://www.ohe.com.br
    SEMrush
     
    Paulo Sebin, May 10, 2017 IP
    SEMrush
  2. sarahk

    sarahk iTamer Staff

    Messages:
    22,923
    Likes Received:
    3,085
    Best Answers:
    77
    Trophy Points:
    615
    #2
    The image is
    <img class="owl-lazy" data-src="https://www.ohe.com.br/banners/86/ecotank.jpg" alt="Epson ecotank" />
    HTML:
    when we'd expect it to be
    <img class="owl-lazy" src="https://www.ohe.com.br/banners/86/ecotank.jpg" alt="Epson ecotank" />
    HTML:
    I'm assuming that there's some funky jquery running over the top and doing something with the data-src but I'd suggest putting in a src even if it is just to a 1px transperant gif.
     
    sarahk, May 10, 2017 IP