HTML FUNDAMENTALS

HTML Forms & Tables

Learn how HTML forms collect information from users and how tables organize structured data.

01

HTML Forms

Forms allow users to enter and submit information. Labels should be associated with their corresponding form controls.

FORM EXAMPLE

Contact Information

0 / 250
02

Select & Radio Inputs

HTML provides several controls for allowing users to select information.

SELECT ELEMENT

Choose Your Color

Select a color
RADIO BUTTONS

Favorite Meal

What is your favorite meal?

Choose an option above.

CHECKBOXES

Which meals did you enjoy?

No meals selected.

03

HTML Tables

Tables are designed for displaying structured data in rows and columns.

Grocery Shopping List
Name Quantity Price Amount
Homemade Bread 2 $2.79 $5.58
Almond Milk 2 $2.99 $5.98
Apples 1 $3.50 $3.50
Total $15.06
!

Tables are not for layout

Tables should be used for structured data, such as prices, schedules, statistics and other information that naturally belongs in rows and columns.