Gathering User Input in an HTML Web Page

Imagine that we wanted to create a Web page that calculated a user's Body Mass Index, or BMI.

The Body Mass Index, or BMI, is a ratio of a person's height to weight. BMI is commonly used as a quick determination of whether one is underweight, at a healthy weight, overweight, or obese. For more information about BMI, see

In order to determine someone's BMI, we need to know his or her height and weight. For the time being, imagine that we want to create this Web page without using ASP.NET, instead using HTML markup to generate the two textboxes needed for the ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.