Skip to main content
HTML Validation

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

About This HTML Issue

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?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.