Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2004 D. J. Foreman T&F-1 CS205 Tables & Forms. T&F-2 ©2007 D. J. Foreman Tables.

Similar presentations


Presentation on theme: "© 2004 D. J. Foreman T&F-1 CS205 Tables & Forms. T&F-2 ©2007 D. J. Foreman Tables."— Presentation transcript:

1 © 2004 D. J. Foreman T&F-1 CS205 Tables & Forms

2 T&F-2 ©2007 D. J. Foreman Tables

3 T&F-3 ©2007 D. J. Foreman Basic Syntax defines one ROW defines one CELL    more rows   

4 T&F-4 ©2007 D. J. Foreman Important Options borderborder thickness (e.g. 4) background bordercolor cellpadding/cellspacing colshelps compute table width frameborder around whole table rulescell borders height width

5 T&F-5 ©2007 D. J. Foreman Advanced Syntax Options only affect current cell

6 T&F-6 ©2007 D. J. Foreman Forms

7 T&F-7 ©2007 D. J. Foreman Basic Syntax -1    more option tags    Usually uses a TABLE to line up fields

8 T&F-8 ©2007 D. J. Foreman Caution Don't confuse the terminology: OPTION as a tag: OPTION actually an attribute on a tag

9 T&F-9 ©2007 D. J. Foreman Basic Syntax -2 URL is to locate the CGI program CGI = Common Gateway Interface

10 T&F-10 ©2007 D. J. Foreman methods Post preferred data accessed via "standard input" (standard input/output is terminal I/O) Get less common (limited length) data passed as a parameter contains callers URL URL could be truncated

11 T&F-11 ©2007 D. J. Foreman processing User clicks a "submit" button Browser send data to server Server starts the CGI program Server gives data to CGI program CGI program "builds" a webpage Output via "standard output" Contains HTML tags AND text Server sends "page" to browser Browser displays page

12 T&F-12 ©2007 D. J. Foreman CGI's CGI programs can be written in: Perl, Java, C++, C, etc. A CGI always runs on the server User cannot see the CGI program Sometimes called a "script" MS script files:anypage.ASP CGI Example: D. Foreman's CS105 grade calculator


Download ppt "© 2004 D. J. Foreman T&F-1 CS205 Tables & Forms. T&F-2 ©2007 D. J. Foreman Tables."

Similar presentations


Ads by Google