VOOZH about

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

⇱ HTML5 MathML width Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML5 MathML width Attribute

Last Updated : 23 Jul, 2025

This attribute is used to set the width or increase/decrease the width of the content. This attribute is accepted by <mglyph>, <mpadded>, <mspace>, and <mtable> tags.

Syntax:

<element width="length">

Attribute Values:

  • length: Holds the digit in specific unit, that much width will be define.

Below example illustrate the width in HTML5 MathML:

Example: 

Output: 

👁 Image

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

  • Firefox
Comment
Article Tags: