Page 1 of 1

'Missing space character' error??

Posted: Sun Jan 19, 2014 2:24 am
by Bluenose
Hello

My CSE HTML validator is giving me the following error
Error in line 169 at character 55: Is there a missing space character? A quoted string (like an attribute value) cannot be immediately followed by text. It must be followed by a space or by the end of the tag.


related to this line in my code:

Code: Select all

<object data="BengalTiger.pdf"type="application/x-pdf"width="500" height="400">
This line fits in here in my code:

Code: Select all

<object data="BengalTiger.pdf"type="application/x-pdf"width="500" height="400">

<p>Please download our menu from <a href="BengalTiger.pdf">here</a></p></object>
What am I doing wrong, please?

Thank you.

Re: 'Missing space character' error??

Posted: Sun Jan 19, 2014 6:30 pm
by Albert Wiersch
Hello,

There should be spaces before the "type" and "width" attributes, like this:

Code: Select all

<object data="BengalTiger.pdf" type="application/x-pdf" width="500" height="400">

Re: 'Missing space character' error??

Posted: Mon Jan 20, 2014 12:52 pm
by Bluenose
Hello

Oh, yes, I see what you mean!

Many thanks for pointing that out - the error have gone now.

Cheers!

Bluenose