Website Development I

Course Info Class Notes Resources Student Websites

Class No. 11:

Creating Tables

Today’s Goal

To explore the capabilities of HTML tables and the parameters that control their display.


Class Resources

Web Programming book reading for THIS class

Web Programming book reading for NEXT class


Preambles

Collect Mid-Course Evaluation forms

A few UltraEdit tricks

  1. To turn off UltraEdit’s automatic closing of tags:
    1. in the horizontal menu at the top of the window, click Advanced
    2. click Settings to bring up Configuration dialog box
    3. in the Configure group, expand the Editor section by clicking the + sign next to Editor (if necessary)
    4. under Navigate, click XML / HTML / Markdown
    5. at the right, uncheck    Automatically close XML/HTML tags

  2. To change UltraEdit’s theme to colored text on a white background:
    1. in the horizontal menu at the top of the window, click Layout
    2. in the Look and feel group, click Themes to bring up a dropdown menu
    3. click Classic

  3. To change UltraEdit’s font size:

Questions from our last class or the readings?


Basic Table Tags


Basic Table Attributes

 1  <table>
 2    <thead><strong>Tentative Class Topic Schedule</strong></thead>
 3    <tr>
 4      <td>1.&nbsp;</td>
 5      <td>Tuesday,</td>
 6      <td>Apr.</td>
 7      <td>4</td>
 8      <td>:</td>
 9      <td>HTML Markup for Basic Text</td>
10    </tr>
11    <tr>
12      <td>2.&nbsp;</td>
13      <td>Thursday,</td>
14      <td>Apr.</td>
15      <td>6</td>
16      <td>:</td>
17      <td>HTML Structure & More Basic Markup</td>
18    </tr>
19    <tr>
20      <td>3.&nbsp;</td>
21      <td>Tuesday,</td>
22      <td>Apr.</td>
23      <td>11</td>
24      <td>:</td>
25      <td>Introduction to Cascading Style Sheets</td>
26    </tr>
27  </table>

Run Program


Example:  Spanning Columns

Source:  Connolly & Hoar (2018), Fundamentals of Web Development, Figure 5.4, page 174, slide 7 for Chapter 5


Today’s Exercise

Goal:  To create a web page that incorporates an HTML table.

Procedure: 

  1. Start by closely examining page 25 or page 36 of the PRO Manual and noticing how the table is laid out on the page.
  2. Choose one of these pages to work on.
  3. Create the basic structure of your page without the table.
  4. Now begin to add the table.  Work slowly, adding just the tags for the first row and get that row looking as you want it to before moving on to the second row.  Make sure that you indent the <tr> and <td> tags properly according to the table tag hierarchy.  (See the examples above.)
  5. Add the second and third rows.  Test your work in the browser.  Again, make sure that the first three rows all look as you want them to before going on.
  6. If you chose to work on page 36, see if you can figure out how to get the table to appear to the right of the “Property Pick Up” text as it does in the PRO Manual.
  7. As always, if you need help with any aspect of this exercise, call me over to your work station.


 


This is Class No. 11.  It was last modified on Saturday, October 21, 2023 at 4:38 PM.  Copyright © 2010-2024 by Jesse M. Heines.  All rights reserved, but may be freely copied or excerpted for educational purposes with credit to the author.