Try mathjax http://www.mathjax.org/ . I personally find it very good.

Answer from mathematician1975 on Stack Overflow
🌐
Mozilla
developer.mozilla.org › en-US › docs › Web › MathML › Reference › Element › math
<math> - MathML - MDN Web Docs
The <math> MathML element is the top-level MathML element, used to write a single mathematical formula. It can be placed in HTML content where flow content is permitted.
🌐
W3C
w3.org › MarkUp › html3 › maths.html
HTML Math
The <MATH> element is used to include math expressions in the current line. HTML math is powerful enough to describe the range of math expressions you can create in common word processing packages, as well as being suitable for rendering to speech. When rendering to fixed pitch text-only media, ...
🌐
Andrew Lock
andrewlock.net › rendering-math-in-html-mathml-mathml-core-and-asciimath
Rendering Math in HTML: MathML, MathML Core, and AsciiMath
April 16, 2024 - In this post I discuss how you can render math in the browser using MathML and MathML Core elements, and show AsciiMath as an easier way of writing equations
🌐
Jukka Korpela
jkorpela.fi › math
Math in HTML (and CSS) - presenting mathematical expressions on Web pages
You may have wondered why web sites, such as Wikipedia, use images for presenting mathematical formulas, even in simple cases like · ∇²φ = 0. Partly the reason is simplicity and uniformity: since some formulas need to be presented as images, it may sound simpler to use images for all images—even in cases where simple HTML markup would do fine: ∇² = <i>φ</i> or &#x2207;&sup2; = <i>&phi;</i>
🌐
W3Schools
w3schools.com › css › css_math_functions.asp
CSS Math Functions
CSS Templates CSS Examples CSS ... Values CSS Default Values CSS Browser Support ... CSS math functions allow mathematical expressions to be used as property values....
🌐
MathJax
mathjax.org
MathJax | Beautiful math in all browsers.
Include some math: enter MathML as MathML tags, and wrap TeX in $...$ or $$...$$ delimiters (or \(...\) and \[...\]), and AsciiMath in `...` delimiters. The text you enter is actually HTML, so you can include tags if you want; but this also means you have to be careful how you use less-than signs, ampersands, and other HTML special characters within your math (surrounding them by spaces should be sufficient).
🌐
Toptal
toptal.com › designers › htmlarrows › math
HTML Math Symbols, Entities and Codes — Toptal Designers
Easily find HTML math symbols, entities, characters and codes with ASCII, HEX, CSS and Unicode values; including plus sign, minus sign, times and divide signs.
Find elsewhere
🌐
Zipcon
zipcon.net › ~swhite › docs › math › math.html
Math in HTML with CSS
For example, x, y, z are single math symbols in text, and ... can be constructed, but won’t look good in most browsers. They are also font-dependent. I recommend avoiding them. Most of these marks have Unicode composing character equivalents. ... If you must have fancy characters such as h-bar, you might consider using the Unicode character ħ for it. Previously, this web page has preferred using ISO-8859-15 characters and the HTML 4 standard character entities.
🌐
HTML Dog
htmldog.com › guides › javascript › beginner › math
Doing Math | HTML Dog
You’re using a forward slash (“ / ”) to indicate division: divide the thing on the left by the thing on the right. For doing sums you can use various symbols: add (“ + ”), subtract (“ - ”), divide (“ / ”) and multiply (“ * ”). Mathematical symbols are called operators; ...
🌐
SQL Pac
sqlpac.com › articles › conception → javascript › mathematical expressions and equations in html with mathjax and asciimath
Mathematical expressions and equations in HTML with MathJax and AsciiMath
One or more input syntaxes are possible (AsciiMath, Tex / Latex, MathML) and the mathematical expression is displayed graphically in an output format (HTML-CSS, SVG, MathML if the browser supports the MathML language like FireFox).
🌐
GeeksforGeeks
geeksforgeeks.org › html › html5-mathml-introduction
HTML5 MathML Introduction - GeeksforGeeks
July 12, 2025 - Mathematical Markup Language (MathML) is an XML-based markup language designed to represent mathematical expressions and formulas on web pages. It is an integral part of HTML5, allowing browsers to display mathematical content without the need ...
🌐
W3Schools
w3schools.com › charsets › ref_utf_math.asp
HTML Unicode Mathematical Operators
To display these characters HTML, you can use the HTML entity found in the table below.
🌐
DEV Community
dev.to › clementgaudiniere › writing-mathematical-formulas-in-html-m59
Writing mathematical formulas in HTML - DEV Community
May 8, 2021 - The first and most important thing to learn when doing calculations with letters is to write them in such a way that they can be distinguished from the text. Thanks to HTML you can directly write letters as variables with the <var> tag.
🌐
Cengage
help.cengage.com › webassign › instructor_guide › webassign › c_i_displaying_math_notation_with_html_substitution.htm
WebAssign: Display Math Notation with HTML Substitution
You cannot use WaTeX, LaTeX, or <symimage> markup inside of HTML substitution tags. Six tags are provided for displaying math notation using HTML substitution.
🌐
W3C
w3.org › MarkUp › HTMLPlus › htmlplus_45.html
12 - Mathematical Equations
The following is a preliminary proposal for representing equations directly as HTML+ using an SGML-based notation, inspired by the approach taken by LaTeX. It is intended to cover the majority of users needs, rather than aiming for complete coverage. This makes it practical to use a simplified notation compared with richer notations, e.g. the ISO 12083 Maths DTD.
🌐
Asciimath
asciimath.org
AsciiMath
Visit the MathJax Getting Started page to find other CDN options , or to learn how to install MathJax locally on your server. Text in your HTML enclosed in ` (backticks) will now get rendered as a math formula. The math delimiters can also be customized.
🌐
Perkins School for the Blind
perkins.org › home › creating math material using html and mathml — accessible on windows or ios devices
Creating Math Material Using HTML and MathML — Accessible on Windows or iOS Devices
October 28, 2022 - You will also need a MathML editor. MathML stands for Mathematical Markup Language. MathML adds special tags to HTML so that math can be displayed on the web in a way that other computers understand–not just as pictures.
🌐
Sdbor
boris.sdbor.edu › d2ldocs › icd10.2 › learningenvironment › html_editor › inserting_equations_in_the_html_editor.htm
Inserting equations in the HTML Editor
The Equation Editor enables users to insert mathematical equations within the HTML Editor. It supports the input of MathML and LaTeX, and includes a graphical editor where you can visually create equations.