HTML5 attributes xmlns, lang, xml:lang

Everything I’ve seen and heard suggests that you should stick to

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">

(or whatever character set you actually want). If you want a language associated with the page you can use the “lang” attribute on the <html> tag.

Since HTML5 is not XML, really, I personally would find it weird to use any xml: namespace stuff.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)