Text fields Text fields are single-line fields into which users type information. Here’s how to create a single-line text field: 1. Define the input type as a text field by…
Input tags The tags you use to collect input from your site visitors make up the bulk of any form. HTML supports a variety of input options, from text fields…
Creating forms HTML forms can present information to users, using text and images. But it can also offer various types of other methods of presenting information, including the following: Text…
How a form looks like? Data collection forms receive information you want to process or save. When you create a form that collects information, the information you need is what…
Adding Headers Cells The th element denotes a header cell, allowing us to differentiate between data and the descriptions of that data. You can see how we added th elements to the table to…
Creating a Basic Table There are three elements that every table must contain: table, tr, and td. There are other elements—and I’ll explain them later in this chapter—but these are the three you…
Description list Description lists group terms and descriptions into a single list and require three elements to complete the list: <dl>: Holds the list descriptions (dl = description list) <dt>: Defines…
Unordered list A bulleted list contains one or more items each prefaced by a bullet (often a big dot). Use this kind of list if the items’ order isn’t necessary…
Ordered list Ordered lists or numbered lists contain list items each prefaced by a number. We use a numbered list when the order or priority of items is important. We…
Lists Lists are powerful tools to group similar elements, and lists give visitors to your site an easy way to zoom in on groups of information. Just about anything fits…