<math>
<a id="myAnchor" href="https://example.com" type="text/html"> ... </a>
</math>MathMLAnchorElement: type property / notebook
MathMLAnchorElement: type property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const mathAnchor = document.getElementById("myAnchor");
mathAnchor.type; // returns 'text/html'