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 Christmas 2014 UK tech deals, Boxing Day 2014 UK tech deals & January sales 2015 UK tech...

IDG UK Sites

LED vs Halogen: Why now could be the right time to invest in LED bulbs

IDG UK Sites

Christmas' best ads: See great festive spots studios have created to promote themselves and clients

IDG UK Sites

Why Apple shouldn't be blamed for exploitation in China and Indonesia