warning in html, wrong endtag |
warning in html, wrong endtag |
FS_FS |
Dec 14 2018, 03:41 PM
Post
#1
|
Group: Members Posts: 1 Joined: 14-December 18 Member No.: 26,772 |
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. |
pandy |
Dec 14 2018, 05:27 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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/ |
Lo-Fi Version | Time is now: 25th April 2024 - 01:22 AM |