There are several frameworks that can be used to display math equation on web page. Usually math equestion written in LaTeX format. LaTeX is used for the communication and publication of scientific documents in many fields, including mathematics, physics, computer science, statistics etc.
The following are examples math LaTeX expression rendered with KaTeX.
To use KaTeX we just need to include katex.min.css and katex.min.js