VOOZH about

URL: https://www.geeksforgeeks.org/html/html5-mathml-stretchy-attribute/

⇱ HTML5 MathML stretchy Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML5 MathML stretchy Attribute

Last Updated : 23 Jul, 2025

This attribute defines whether the operator stretches to the size of the adjacent element or not. Possible values are true or false. This attribute is accepted by the <mo> tag only.

Syntax:

<element stretchy="true|false">

Attribute Values:

  • true: This value defines the operator stretches to the size of the adjacent element.
  • false: This value defines the operator stretches not to the size of the adjacent element.

The below example illustrates the stretchy Attribute:

Example:

Output:

👁 Image
The output of the above code

Supported Browsers: The browsers supported by stretchy attribute are listed below:

  • Firefox
Comment
Article Tags: