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

Windows 9 launch event live: Windows 9 launch live blog - find out first as the new Windows is...

IDG UK Sites

Windows 9 and the death of the OS as a must-have product

IDG UK Sites

Video trends: 4K is here – HDR video, VR and 3D audio is coming

IDG UK Sites

Best iPhone 6, iPhone 6 Plus deals: iPhone 6, iPhone 6 Plus tariffs, contracts and prices UK