|
Lesson 23Using SSI to simplify complex tablesWe've talked about using SSI in the group a little bit. Now we'll learn how to use SSI to replace a section of table code with a text file. SSI stands for "server side include". It means that we include something that takes place on the server side (ie, your web page) instead of the client side (your visitor's pc or webbie). An example of a client side event would be background music. You add the code to your page, but the music is played by your visitor's pc or webbie.
Here's what an SSi looks like: Caution: not all hosts allow the use of SSI. "What are some examples of where I would use SSI?"
1) I have some links for the table course at bottom of every page for the table course.
I can use:
2) On my personal pages, I usually include my email address and a link to my guestbook. Instead of entering those codes on every page, I just use a "contact.txt" SSI: 3) Large pages can be difficult to edit just because of their size. You can break them down in sections and just include each section. Then you just edit each section as needed. 4) In tables, we often copy and paste a lot of code. Instead, we can just make text files and include them. But enough talk. Let's build a table quickly and easily with SSI.
Project:
Here is my table plan:
The nested tables will be the same except for the color and the length, so I really have minor variations of one nested table for each bar:
Here is the code for my table:
Homework Assignment
Lesson 24: Basketweave Table Course Table Gallery Key Concepts and Table Tips Understanding Gradangles WebTV Viewer Table Gallery HTML Cookbook Html.Help.Gnubee Html Help Gnubee Chat |