W3C HTML 4.01 Strict validation

View: New views
1 Messages — Rating Filter:   Alert me  

W3C HTML 4.01 Strict validation

by jscjso :: Rate this Message:

| View Threaded | Show Only this Message

I had a few errors and worked my way down to the last two. I cannot find a way to work around.

1. I have a table with <\a> and <h1> combined, as

<tr style='height:"30"'><td align=center><\a href='index.html'><h1>home page</h1><\/a>

The validator complains about the <h1> inside the <\a> statement.

(note: I have to insert the forward slash in front of the link a in order for it to show up in this posting.)

2. <lh> is not allowed in <ul>. I have been using <lh>a description</lh> to compact this line very close the the <li> lines. It works in my two browsers, ie and firefox. But the validator errors it out.
Is there a way to put a text line very close above the <li> lines. Anything above the <ul> is very far above the <li> lines.