[clug] Server-side scripting - HTML validator
jhock
jhock at iinet.net.au
Thu Jan 17 04:52:44 UTC 2019
Please see inline comment below:
On Thu, 2019-01-17 at 06:21 +1100, George at Clug via linux wrote:
> While in the past I haven't, but I now think it would be good if
> I used and on my pages.
>
>
>
>
>
> https://www.w3.org/International/tutorials/tutorial-char-enc/#Slide0250
>
>
> Always declare the encoding of your document. Use the HTTP header if
> you can. Always use an in-document declaration too.
>
>
>
>
>
>
>
>
> https://www.w3.org/International/questions/qa-what-is-encoding
>
>
> view-source:
> https://www.w3.org/International/questions/qa-what-is-encoding
>
>
> Character encodings for beginners
>
>
> It is interesting when you run the above w3 page through the HTML
> validator...
> https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.w3.org%2FInternational%2Ftechniques%2Fauthoring-html
>
>
> Error: Duplicate ID "justification_other".
>
>
>
> From line 2617, column 9; to line 2617, column 56
>
>
>
>
Yes. Two of the ul elements have been given the same id of
"justification_other". id attribute values must be unique within a
document. Tisk, tisk W3C. :--)
John.
<snip/>
More information about the linux
mailing list