HTML5 | Mathematical operators
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 − Output : - Input : × or × Output : x Input : ¾ or ¾ 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-
Please Login to comment...