<math>
<a id="myAnchor" href="https://example.com:8001/subsection#examples"> ... </a>
</math>MathMLAnchorElement: port property / notebook
MathMLAnchorElement: port 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.port; // returns '8001'