[clug] Server-side scripting - HTML validator

George at Clug Clug at goproject.info
Wed Jan 16 19:21:08 UTC 2019


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














On Thursday, 17-01-2019 at 00:33 Bryan Kilgallin via linux wrote:


Hi George:


> It sure is hot tonight in Tuggeranong.

I swam in the Murrumbidgee.
We're in an extreme heatwave!
http://www.bom.gov.au/fwo/IDY10008.20190118.png


> Were you able to work out what were the HTML errors?
I just summarised what the validation site said. So look up
http://validator.w3.org/
and enter
https://lists.samba.org/mailman/listinfo/linux 


into the Address field.


> Here is my take on what actually caused the HTML errors to be
> reported.
Here is another problem thus-unearthed, which I hadn't noticed.

{No Character encoding declared at document level No character
encoding 
information was found within the document, either in an HTML |meta| 
element or an XML declaration.}


> Can anyone confirm my reasoning, and tell me where my
> reasoning is incorrect, please?

AS you said, it's much too hot! And I don't have AC.

-- 
members.iinet.net.au/~kilgallin/

-- 
linux mailing list
linux at lists.samba.org
https://lists.samba.org/mailman/listinfo/linux


More information about the linux mailing list