Math and Science Notations in HTML

Home arrow HTML & CSS Tutorials arrow HTML Tutorial arrow Math and Science Notations in HTML
Math and Science Notations in HTML Print E-mail
Contributed by Joe   
Friday, 21 July 2006

Math and Science Notations in HTML

Although HTML was first designed and used by scientists, it has yet to support mathematical and scientific notation with any degree of complexity. HTML does give you two tags to help write simple equations. Together with the codes for special characters, the <sub> (subscript) and <sup> (superscript) tags go a long way toward creating equations, as shown below

<sup> and <sub> Tags You Type
 The Browser Displays
 
A<sup>2</sup> + B<sup>2</sup> = C<sup>2</sup>
 A2+ B2 = C2
 
CO<sub>2</sub> = Carbon Dioxide
 CO2 = Carbon Dioxide
 

If you are looking to write more complex equations, you need to write your equation in the program that you usually use, and then use a graphics program to turn it into an image. You can insert that image into any HTML page

Last Updated ( Monday, 24 July 2006 )

  home              contact us

 

©2006-2008 DeveloperZone.biz   All rights reserved     powered by Mambo Designed by Siteground