Character entities in an HTML5 meta description tag: ampersand (&) is OK. Bullet (•) and other entities generate an error: Validation Output: 1 Error Line 5, Column 56: reference to undeclared general entity bull <meta name="description" content="This & that • Something else" /> _______________________ Here is the example: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title>Possible oversight in the HTML5 Validator</title> <meta charset="utf-8" /> <meta name="description" content="This & that • Something else" /> </head> <body> <p>Character entities in an HTML5 meta description tag: ampersand (&) is OK. Bullet (•) and other entities generate an error:</p> <span style="color:#F00">Validation Output: 1 Error</span> <br /><i>Line 5, Column 56:</i> <b>reference to undeclared general entity bull</b> <br /><meta name="description" content="This &amp; that &bull<span style="color:#F00">;</span> Something else" /> </body> </html>Received on Sunday, 16 January 2011 21:09:30 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:20 UTC