Skip to main content

HTML Guide

Saw “<?”. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.)

A tag starting with <? has been found within the document, but it’s not supported. Probable causes can be:

  • Copy-pasting the contents of an SVG file. If you do that, you should only paste the <svg>...</svg> part, but not the first line with <?xml...>.
  • Unprocessed <?...> tags on server scripting languages like PHP, like <?php>

Learn more:

Last reviewed: March 08, 2023

Was this guide helpful?

Related W3C validator issues