HTML5 | MathML <mtext> Tag Last Updated : 24 Aug, 2021 Comments Improve Suggest changes Like Article Like Report The MathML <mtext> tag in HTML5 is used to print any text before after any expression. You can use this tag to signify the expression or can give a name to that expression. Use to print comments about any expression this tag has been used.Syntax: <mtext attributes="values"> Random text </mtext> 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.href: This attribute is used to hold any hyperlink to a specified URL.mathbackground: This attribute holds the value of the math expressions background color.mathcolor: This attribute holds the color of the math expressions.dir: This attributes holds the direction value. Two types of direction values are acceptable ltr from left to right and rtl from right to left.mathsize: This attribute holds the value of the size for the content. The possible values are small, medium and big.mathvariant: This attribute holds variety of typography like font-family. Below example illustrates the MathML <mtext> tag in HTML5:Example: html <!DOCTYPE html> <html> <head> <title>HTML5 MathML mtext tag</title> <style> mi { font-size:25px; } </style> </head> <body> <center> <h1 style="color:green"> GeeksforGeeks </h1> <h3>HTML5 MathML <mtext> tag</h3> <math> <math> <mtext mathvariant="bold"> GeeksforGeeks </mtext> <br> </math> <math> <mtext mathvariant="italic"> A Computer Science Portal for Geeks </mtext> </math> </math> </center> </body> </html> Output: Supported Browsers: The browsers supported by HTML5 MathML <mtext> tag are listed below: FirefoxSafari Create Quiz Comment S skyridetim Follow 0 Improve S skyridetim Follow 0 Improve Article Tags : Web Technologies HTML HTML5 HTML-Tags HTML-MathML +1 More Explore HTML BasicsHTML Introduction4 min readHTML Editors4 min readHTML Basics7 min readStructure & ElementsHTML Elements4 min readHTML Attributes7 min readHTML Headings3 min readHTML Paragraphs3 min readHTML Text Formatting4 min readHTML Block and Inline Elements3 min readHTML Charsets4 min readListsHTML Lists3 min readHTML Ordered Lists5 min readHTML Unordered Lists4 min readHTML Description Lists3 min readVisuals & MediaHTML Colors11 min readHTML Links Hyperlinks2 min readHTML Images7 min readHTML Favicon4 min readHTML Video4 min readLayouts & DesignsHTML Tables9 min readHTML Iframes4 min readHTML Layout4 min readHTML File Paths3 min readProjects & Advanced TopicsHTML Forms4 min readHTML5 Semantics5 min readHTML URL Encoding4 min readHTML Responsive Web Design11 min readTop 10 Projects For Beginners To Practice HTML and CSS Skills8 min readTutorial ReferencesHTML Tags - A to Z List5 min readHTML Attributes Complete Reference8 min readHTML Global Attributes5 min readHTML5 Complete Reference8 min readHTML5 MathML Complete Reference3 min readHTML DOM Complete Reference15+ min readHTML DOM Audio/Video Complete Reference2 min readSVG Element Complete Reference5 min readSVG Attribute Complete Reference8 min readSVG Property Complete Reference7 min readHTML Canvas Complete Reference4 min read Like