• I have the following inserted in a test widget, which is causing a validation error: Line 112, Column 84: start tag was here . …://www.needgod.com/" target="_blank"><img src="http://www.livingwaters.com/ev

    Here’s the original code:

    <a href="http://www.needgod.com/"><img src="http://www.livingwaters.com/evangelism/good.gif" alt="Are you a good person?" width="170" height="76" border="0"></a>

    any ideas on cleaning this up?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Depends what the validation error is – a link to the page might assist.

    Depending on the Doctype used, it could be the taget="_blank", or it could be something else altogether.

    If you use xhtml transitional or strict you have to “self close” img element.
    Try adding ‘/>’ instead of just ‘>’ at the end of IMG tag.

    Thread Starter greenpeas

    (@greenpeas)

    thanks for the advise… I know it’s minor. I added the ‘/>’ bit, didn’t seem to help.

    Thread Starter greenpeas

    (@greenpeas)

    Interestingly enough… there’s an error on a header on a widget text box as well. This must just be a flaw in the design of widgets?

    Line 100, Column 5: start tag was here.
    <h2>Where We Are</h2>
    <div class=”textwidget”>First Baptist Church<br/>

    fyi… the site is here

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Start Tag not validating’ is closed to new replies.