Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The href global attribute creates a hyperlink on the MathML element pointing to the specified URL.


<!-- Make this math equation a link to Wikipedia's article
     about the Pythagorean theorem. -->
<math href="">
  <!-- Make this square root a link to corresponding
       SageMath's calculation. -->
  <msqrt href="">


The href attribute is not defined in any browser-oriented specification but you can find a description in MathML 4.

Browser compatibility

BCD tables only load in the browser

See also