<math>
<a id="myAnchor" href="https://example.com" rel="help alternate">...</a>
</math>MathMLAnchorElement: relList property / notebook
MathMLAnchorElement: relList 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.relList[0]; // "help"
mathAnchor.relList[1]; // "alternate"mathAnchor.relList.value = "author bookmark";
mathAnchor.relList.add("me");