Re: How do u perform mathematical functions in a html page
Since HTML is 'mark up' all it does to define how things are presented to the page viewer. To calculate, you need to use something that has the ability to calculate. Javascript is the solution as it is built in to every browser.
Use your favorite search engine to find scripts that do what you want.