Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ warning in html

Posted by: FS_FS Dec 14 2018, 03:41 PM

Hello,

I get a warning on mij website regarding the following HTML: (wrong endtag)

<p style="margin: 0px 0px 13.33px;text-align: center"><span style="text-decoration: underline"><span style="margin: 0px;color: #0070c0;line-height: 115%;font-family: Consolas;font-size: 20pt;text-decoration: underline">€ 11</span></span></p>
<p style="text-align: center"><span style="color: #000000;font-family: Roboto">Een lekkere krokante Brusselse wafel met suiker (bloemsuiker of cassonade).</p>

I don't understand why? Is there a fault in this html?

Best regards.

Posted by: pandy Dec 14 2018, 05:27 PM

You have omitted a closing tag for SPAN.

Here.

CODE

<span style="color: #000000;font-family: Roboto">Een lekkere krokante Brusselse
wafel met suiker(bloemsuiker of cassonade).</p>
                                         ^^^


I don't know what program told you there's a problem, but use a real validator. It will point the exact spot out for you. The validator on this site is good for HTML up to 4.01. For HTML5 and XHTML you need to use the W3C validator.
http://htmlhelp.com/tools/validator/
https://validator.w3.org/

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)