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

Chromecast deals aplenty as gadget turns one: Discounts and free music streaming

IDG UK Sites

Apple updates MacBook Pro line-up: Price cuts & spec boosts for 6 MacBook Pro models

IDG UK Sites

Introducing generation tech

IDG UK Sites

5 ways drones are being used for good