- From: Jukka K. Korpela <jukkakk@gmail.com>
- Date: Wed, 21 Jun 2023 16:51:19 +0300
- To: John Danielsson <danielssonjhn23@gmail.com>
- Cc: www-validator@w3.org
Received on Wednesday, 21 June 2023 13:51:37 UTC
In HTML5, the less than character “<” cannot appear as such in character data, only as the start symbol of a tag. Previous HTML versions were more permissive. So just follow the suggestion of using the character reference < instead. It will appear in “<” when the document is displayed, and if someone copies and pastes content from a displayed page, he will get “<”. The escape < exists only in HTML source; a browser will internally turn it to “<”. Jukka, https://jkorpela.fi( ti 20. kesäk. 2023 klo 12.46 John Danielsson (danielssonjhn23@gmail.com) kirjoitti: > Dear Team, > > I am writing this mail due to a syntax error in W3C HTML5 validation. > I've just found that '<' character is considered an error even if it is > between <p> </p> markers. According to gpg encryption, this character > must be used, and I am forced to change this character to get error-free > validation. Can you please double-check this issue ? > > Thank you for your help, > > Best regards, > > Danielsson, > > > >
Received on Wednesday, 21 June 2023 13:51:37 UTC