WordPress will not help you here. In back-end use conservative XHTML 5: <br />
, but not <figure>
(see WP coding standards).
In front-end … it is hard to determine the Doctype and the usage of polyfills, so stay with regular HTML as long as possible or load the necessary polyfills from your plugin.