Skip to content
Learn Netverks

Lesson

Step 23/36 64% through track

form-basics

Form basics

Last reviewed Jun 1, 2026 Content v20260601
Track mode
iframe_html
Means
HTML preview sandbox
Reading
~1 min
Level
intermediate

This lesson

This lesson teaches Form basics—the ideas, syntax, and habits you need before moving on in Foundation.

Forms are where users convert and where security mistakes (validation, labels) show up first.

You will apply Form basics in contexts like: Large marketing sites, email-adjacent layouts, and legacy responsive redesigns.

Read the lesson, edit HTML/CSS in the playground, press Run to preview, then answer the lesson MCQs.

When the previous lesson's MCQs feel easy and you can explain Form basics in your own words.

Foundation styles native form elements when you wrap them in semantic structure: a <form>, <label> text, and inputs with consistent spacing and focus states. Unlike Bootstrap’s separate form-control class on every input, Foundation leans on element selectors—your markup stays closer to plain HTML forms.

Labels and help text

Pair every control with a visible label—either wrapping the input inside <label> or connecting with for/id. Add hints with help-text below the field. Disabled controls use the native disabled attribute; Foundation dims them automatically.

Buttons in forms

Submit actions use button with type="submit"; secondary actions use button hollow or button secondary. Keep one primary submit per form unless the UX clearly needs two equal-weight actions.

Self-check

  1. Why does Foundation prefer labels that wrap inputs on small marketing forms?
  2. Where does hint text belong relative to the control?
  3. Which attribute disables a field for assistive tech and styling?

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs in your browser in a sandboxed frame. Backend runners appear when this track’s profile allows them.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • Labels associated?
  • Fieldset grouping why?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump