We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Validation help please


ethelbert

Likes # 0

I am not understanding why the validator des not like this.

I have: " or "") inside an inline element (such as "", "", or "").

Jill

Like this post
ethelbert

Likes # 0

I don't understand what the validator is complaining of here - why ?

I have:

 

Result: Column 15: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

" or "") inside an inline element (such as "", "", or "").

Like this post
barmybuckle

Likes # 0

Do you have a link to your code? Or a code snippet at least that we can look at?

Like this post
ethelbert

Likes # 0

Sorry have just posted a response thanks,but I seem to have hit another section of forum.

I have now understood the validator with a bit more concentration and used span class instead of p class and all is now well. Thanks for the response, sorry the code didn't show, I did it twice as the 2nd time I put it through Notepad, but it still didn;t show correctly.

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

Best camera phone of 2015: iPhone 6 Plus vs LG G4 vs Galaxy S6 vs One M9 vs Nexus 6

IDG UK Sites

In defence of BlackBerrys

IDG UK Sites

Why we should reserve judgement on Apple ditching Helvetica in OS X/iOS for the Apple Watch's San...

IDG UK Sites

Retina 3.3GHz iMac 27in preview: Apple cuts £400 of price of Retina iMac with new model