Logo MART 341 Intro-Web-Dev
  • Modules
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
    • Week 7
    • Week 8
    • Week 9
    • Week 10
    • Week 11
    • Week 12
    • Week 13
    • Week 14
  • FAQ
  • About

HTML Images, Tables, and Forms

Topic Overview

Image Integration

Images in HTML Saving for Web The <img> Tag Source Alt Title Width and Height The <img> Element TODO

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 <input> 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

Title

60% Complete (success)

<img src="#" alt="..." title="..." width="..." height="..." />

As with the alt text attribute, you should also get in the habit of always including a title attribute, which is title="". Most browsers will display this text as a tooltip when a user hovers their mouse over am image with the included attribute.

IMPORTANT: The alt and/or title attributes are also be used by some browsers in the case where the image itself cannot load.


  • ← Previous
  • Next →

MART 341 Intro-Web-Dev © 2023