Freepages-Help-L Archives

Archiver > Freepages-Help > 2004-10 > 1097156123


From: Ken McInnes <>
Subject: Re: code validation
Date: Thu, 07 Oct 2004 23:35:59 +1000


G'day all,

Pat Geary wrote:
>
> Unfortunately, the Rootsweb FreePages info inserted at the top and bottom
> of the pages, causes mine NOT to validate. Also if you link to the WordConnect
> database - that code will not validate. <clip>

I agree, it is unfortunate that the advertisement inserts do not correctly set
the script type="text/javascript", but you can still validate *your html* using
the 'upload' capabilities of the validator at <http://validator.w3.org/>; and
confidently know that *your html* is okay.

Even so, if you do get validation errors related to url links that you have
included, you can fix these by using 'entity encoding' or 'url encoding'.

'Entity encoding' is what you do when you want to show, say a 'greater-than'
symbol '>' in html - by using &gt; or say using a 'non-breaking' space &nbsp;

'URL encoding' is what you sometimes see when a webpage name has a 'bad
charater' in it, such as a space encoded as '%20'. Other things such as quotes
might need to be encoded '%22'. For more details and a URL encoding converter
see <http://www.blooberry.com/indexdot/html/topics/urlencoding.htm>;

regards

Ken McInnes
___________




This thread: