The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> warning in html, wrong endtag
FS_FS
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 14 2018, 05:27 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
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/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 03:53 AM