• Hey, I am a php simpleton, and did my best to mix up the default theme to match my needs. Instead of the header I wanted a simple image that linked to the front page, and I managed that by changing header.php but the XHTML validator gives the error:

    Line 58, column 177: end tag for “img” omitted, but OMITTAG NO was specified

    Obviously the idea would be for the XHTML to ignore the picture and just give the title of the site. Any ideas? Big heap o’ gratitude to anyone that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Add a backslash before the img tag ends.
    Ex: <img src="image location" alt="some image" />

    Thread Starter alantrotter

    (@alantrotter)

    Thank you! That was easy. I seem to have more feed problems now, but I’ll try and figure out what they are before I put up a pleading post about them…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘img tag XHTML problem’ is closed to new replies.