VOOZH about

URL: https://www.geeksforgeeks.org/html/html5-mathml-mphantom-tag/

⇱ HTML5 | MathML <mphantom> Tag - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML5 | MathML <mphantom> Tag

Last Updated : 19 Aug, 2021

The MathML <mphantom> tag in HTML5 is used to rendered invisibly but the dimensional are still kept.
Syntax: 
 

<mphantom> Child elements </mphantom>


Attributes: This tag accepts some attributes which are listed below: 
 

  • class|id|style: This attribute is used to hold the styles of the child elements.
  • mathbackground: This attribute holds the value of the math expressions background color. 
     


Below example will illustrates the concept of HTML 5 MathML <mphantom> tag:
Example: 
 

Output: 
 

👁 Image


Supported Browsers: The browsers are supported by HTML5 MathML <mphantom> tag are listed below: 
 

  • Firefox
  • Safari


 

Comment