Sonzaschool
Rudi

Sekondari ya Kawaida · Kidato cha Pili · Amali · Electronics and Computer

Computer Programming

Creating data tables and forms using HTML

takriban dakika 3 kusoma

Majadiliano
Mada za sehemu hiiCreating web pages using HTMLMada 4

HTML tables and forms are used to organise information on web pages. Tables display data in rows and columns, while forms let users enter and submit information.

Tables are created using three main tags:

  • <table> – starts and ends the table
  • <tr> – defines a table row
  • <td> – defines a table cell (data inside a column)
  • <th> – defines a table header (bold and centered by default)

Basic Table Structure

<table>
    <tr>
        <th>Header 1</th>
        <th>Header 2</th>
    </tr>
    <tr>
        <td>Data 1</td>
        <td>Data 2</td>
    </tr>
</table>

The border attribute adds a visible border:

<table border="1">

Jinsi utakavyotathminiwaTathmini ya mchakato · Tathmini ya matokeo · Tathmini ya maarifa

Tathmini ya mchakato

  • Set up table structure using , ,
    .
  • Add form elements (,
  • Set form attributes (action, method).
  • Save and preview the table and form in a browser.
  • Troubleshoot display issues.

Tathmini ya matokeo

Tables and forms that use HTML to display data correctly are created.

Tathmini ya maarifa

Detailed knowledge of:

Method used: The student should explain how to:

  • Create HTML Tables
  • Create HTML forms

Principles: The student should explain the principle of why and when to use HTML tables and forms

Theories: The student should explain:

  • The concepts of HTML tables
  • The concepts of HTML forms.
  • Structure of tables and form elements.

Circumstantial knowledge:

Detailed knowledge about: - form attributes (e.g., action, method).

Swali

What HTML tag is used to define a table row?

Ingia ili kuwasilisha jibu lako na lihesabiwe katika umahiri wako.

Ingia ili kufanya mazoezi

Mwalimu

Umekwama? Niulize chochote kuhusu mada hii.

Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu swali hili.

Ingia ili kuuliza

Majadiliano

Hakuna maswali bado

Ingia ili kuuliza
Inapakia majadiliano…