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

5 reasons not to wait for the Apple Watch: Why you shouldn't buy the iWatch

IDG UK Sites

Why local multiplayer gaming is rapidly vanishing: we look at the demise of split-screen and LAN...

IDG UK Sites

How Emotional Debt is damaging digital design

IDG UK Sites

How to update your iPhone or iPad to iOS 8: including how to install iOS 8 if you don't have room