With the program running in your browser, type
CtrlU to see its source code
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:
Start by closely examining
page 25 or
page 36 of the PRO Manual and noticing how the table is laid
out on the page.
Choose one of these pages to work on.
Create the basic structure of your page without the
table.
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.)
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.
Finish up the table and check that it displays
properly.
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.
As always, if you need help with any aspect of this exercise, call me over to your
work station.