Skip to content
Related Articles

Related Articles

HTML5 | Mathematical operators
  • Difficulty Level : Basic
  • Last Updated : 03 Dec, 2018

Mathematical Operators are used for representation of mathematical and technical operators. In HTML5 some special codes are used. For the representation of these operators we can use the name or hexadecimal(Hex) reference.

Examples:

Input : &minus or &#8722 
Output : -
Input : &times or &#215
Output : x
Input : &frac34 or &#190
Output : 3/4




<!DOCTYPE html>
<html>
<body>
   
  <p>∑</p>
  <p>&#8721</p>
  <p>°</p>
  <p>&#176</p>
  <p>≈</p> 
  <p>&#8776</p>
</body>
</html>


Output:


In writing the hex reference in html code, a semicolon is required at the end.
Some Common mathematical Characters are-

Some Complex mathematical symbols are-

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :