Skip to main content

HTML Guide

Attribute “xmlns:v” not allowed here.

The xmlns:v attribute is not valid on the html element in HTML5.

HTML5 does not support custom XML namespaces like xmlns:v, which was used in old versions of Internet Explorer for VML (Vector Markup Language). The xmlns:v attribute is unnecessary and should be removed to make your HTML valid.

Example before (invalid HTML):

<!DOCTYPE html>
<html xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <title>VML Example</title>
  </head>
  <body>
    <!-- content -->
  </body>
</html>

Example after (valid HTML):

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>VML Example</title>
  </head>
  <body>
    <!-- content -->
  </body>
</html>

For vector graphics in modern HTML, use the svg element instead of legacy VML.

Related W3C validator issues