An Example Form in HTML

Some of the form controls introduced so far are brought together in Figure 5.59 to produce an example of a typical form. Figure 5.60 shows the result. Notice that the text input fields are not properly aligned vertically. In order for a form to look professional and be easy to use, these fields should be properly aligned. This is done using CSS, and how this is done is explained in Chapter 17.

Source: Sklar David (2016), HTML: A Gentle Introduction to the Web’s Most Popular Language, O’Reilly Media; 1st edition.

Leave a Reply

Your email address will not be published. Required fields are marked *