• in
InterCourses
CoursesBlogs
0
← Introduction to HTML
○What Is HTML? See Tags in Action○Exercise: Build the Meridian Signal○Complete HTML5 Page Structure: See It in Action○Exercise: Build a Complete HTML5 Page✦Module Quiz
○Heading Hierarchy Demo: H1 and H2○Exercise: Extend the Signal Brief○Paragraphs and Inline Tags Demo○Exercise: Write Meridian's Survey Notes○List Types Demo: Steps, Items, and Terms○Exercise: Build a Crew member Loadout○Challenge: Transmit a Rescue Signal✦Module Quiz
○Hyperlinks○Images○Applying Styles to HTML✦Module Quiz
○Div and Span○HTML Tables○Classes and IDs○Review: Structured Profile✦Module Quiz
○Project 1 - Visiting Card Structure○Project 1 - Visiting Card Actions✦Module Quiz
○The Head Element and Page Title○Meta Tags○HTML Entities✦Module Quiz
○Form Basics Demo: Join the Meridian Relay○Exercise: Build a Night-Shift Check-In○Input Types Demo: Build a Mission Profile○Exercise: Record Beacon Maintenance●Choice Controls Demo: Select Training Modes○Exercise: Plan a Supply Pickup○Response Controls Demo: Send a Mission Reply○Exercise: Build a Rescue Dispatch Report○Challenge: Send an Emergency Beacon✦Module Quiz
○Project 2 - Contact Us Form Structure○Project 2 - Contact Us Form Actions✦Module Quiz
○Embedding Video○Embedding Audio○Iframes✦Module Quiz
○Semantic HTML Tags○Details, Figure, and Figcaption✦Module Quiz
○Project 3 - Resume Semantic Structure○Project 3 - Resume Links and Actions✦Module Quiz

Choice Controls Demo: Select Training Modes

Mission

The crew can practise several capabilities but must reserve only one training window. The relay form needs both kinds of choice.

What you'll see

A completed form using fieldsets, legends, three checkboxes, and a one-choice radio group.

Read the code

html
<label><input type="checkbox" name="mission" value="flight" /> Flight</label>
<label><input type="radio" name="window" value="dawn" checked /> Dawn</label>

Checkboxes are independent. Radios with the same name form one group.

Try the preview

Run the demo. Turn on more than one practice mission, then choose a training window; selecting a new radio choice replaces the old one.

Checkpoint

Use the preview to connect each visible result to the HTML that created it. This is a completed demonstration, so you do not need to edit the code.

Next

Continue to Exercise: Plan a Supply Pickup. You will recreate the same idea from a smaller starter file.

Hint 1
1 / 1
HINT 1

This is a completed demo. Run the preview, then read the matching code.

Loading editor…
READY
intercourses
html