Category: HTML

HTML Tutorial / Add Placeholder Text to Form Fields
Learn how to add placeholder hints to HTML input and textarea fields without confusing them with labels or initial values. Includes a complete form example, required-field checks, and an explanation of empty values in submitted data.

HTML Tutorial / Explain Forms with fieldset, legend, and autocomplete
Group related controls with fieldset and legend, and use suitable autocomplete tokens to describe the purpose of input fields.

HTML Tutorial / Form Validation with required, Length, and Range Limits
Apply built-in required, length, and numeric constraints, test error states, and understand why server-side validation remains necessary.

HTML Tutorial / Choose Input Types for Email, Numbers, Dates, and Choices
Choose input types based on the value being collected and understand how checkboxes and radio groups behave when submitted.

HTML Tutorial / Use textarea, select, option, and button
Create multi-line fields, selection lists, and form buttons while understanding initial values, submitted values, and reset behavior.

HTML Tutorial / Form Structure and GET vs. POST
Understand how form action, method, and control names determine where form values go, and when GET or POST is appropriate.

HTML Tutorial / Connect Labels and Inputs Correctly
Connect labels to inputs with for and id, distinguish id from submitted name, and learn why placeholder text cannot replace a label.

HTML Tutorial / Accessible Tables: caption, scope, and Spanning Cells
Make table headings and data relationships clear with caption, th, and scope, and learn when colspan or rowspan makes a table harder to read.

HTML Tutorial / Table Basics: table, tr, th, and td
Build a basic HTML data table with rows and header or data cells, then organize its headings and body without using tables for page layout.

HTML Tutorial / Group Images and Captions with figure and figcaption
Use figure and figcaption to keep an image and its visible explanation together, and distinguish captions from image alt text.
