Logo Intro-Web-Dev
  • Modules
    • Introduction

    • GIT Module
    • 01://Reopositories
    • 02://READMEs
    • 03://Pages
    • 04://GIT Website

    • HTML Module
    • 05://Markup
    • 06://Forms
    • 07://Media
    • 08://HTML Website

    • CSS Module
    • 09://Color
    • 10://Typography
    • 11://Positiong
    • 12://CSS Website
  • FAQ
  • About

“Forms”

Topic Overview

Table Structure

Tables in HTML The <table> Tags Rows Cells Headings The <table> Element TODO

Table Styling

Styling Borders Cell Padding TODO

Intro to Forms

Web Forms The <form> Tags Action Method ID and Class The <form> Element TODO

Form Input Elements

Asking for Input The <iput> Tag Type Name ID The <input> Element TODO

Text Types

Text Input Plain Text Password Text Area Maxlength Columns and Rows Placeholder Size Value Autofocus TODO

Selection Types

Selection Input Radio Buttons The Checkbox Element The Select Box (AKA Dropdown Select) TODO

Button Types

Buttons The Upload Button The Submit Button The Image Button The Button Element TODO

Form Management

Keeping Track Labels and IDs Fieldsets and Legends TODO

HTML5 Inclusions

New in HTML5 Validation Date E-Mail Search Figure and Figcaption TODO

Value

The value attribute can be used to “pre-fill” a text box. Unlike placeholder, when you click in the text box, the “pre-filled” text is not replaced. Instead, the user can edit it freely, remove it, or keep it.

HTML
<p>
  Birth Year:
  <input type="text" name="name" id="test-date" maxlength="4" size="4" value="19" />
</p>

Please Enter:

Birth Year:

Net ID:

Password:

Comments or Concerns:

NOTE: This can be used to fill in “input” elements with data that would be used “most of the time”.


  • ← Previous
  • Next →

Intro-Web-Dev © 2025 | More at Media-Ed-Online