XHTML

Validating script elements in XHTML

I’ve found that multiple errors will come from within any [script] tags that I have. To solve this, use
CDATA as so:

[script]
< ! [ CDATA [

** Please note that you should not have your
characters spaced as I've done above, this is
because my blogger editor doesn't
like angle brackets!!

function thisDoesntMatter(a,b)
{
if (a < b && a < 0) then { return 1 }
}
]]>

Above is the closing tag for your CDATA

[/script]

On another note, if you are having issues with chacters within links being validated, make sure your & signs are using the ASCII code and not just the & symbol.

XHTML v1.1 Validation – Using the ‘ name ‘ attribute

While trying to validate a site, I found that the document didn’t like the attribute ‘name ‘ . I searched and found it is being deprecated and the functionality is still possbile, although to use ‘id’ instead.

[a id='top'] [/a]

[a href='#top']Go to top of page[/a]

The attribute ‘id’ must be a unique identifier.