2007年11月26日 星期一

Lab 17: Form and Action, Part II

Hand code a HTML or use Nvu to edit an HTML so that the webpage can send a request to Google likehttp://maps.google.com/maps?q=24.9586,+121.24114Use Form CGI that includes action, input, and submit.Try a few different coordinates.
























Lab 16: Form and Action

"logic will get you from A to B - imagination will take you anywhere"How to use Form to invoke a remote service through CGI.

1. Copy the search box of this search page,inlcuding radio buttons, text input, and submit button.

2. Open your Nvu HTML editor.

3. Open a new empty HTML file.

4. Paste the search box into this new file.

5. Use Nvu to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.

6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
















7. Run your HTML by Firefox. What do you get?


















8. Set method as "post"

















9. Run your HTML by Firefox. What do you get?

Homework 10-1-2007

根據無障礙網頁設計原則

1. 為什麼不要開出新視窗?
對於有障礙者時,當網頁開啟時是以新視窗開啟的話較為不便,也會使得上一頁失去使用功能,無法記錄曾經閱讀過歷史頁面,或是需移動滑鼠在不同的事窗,切換點閱稍嫌有點麻煩。


2. 為什麼要使用貼切的網頁標頭? 而不是留白?

標題的命名是一個相當重要的,將不同的篇章賦予相異的意義,以及為不同的內容作一些分類與區隔,方便未來的收尋與使用,和使讀者可以簡略的判斷出使否是所需使用的篇章,加速閱讀的篩選速率。


3. 定義快速鍵有什麼好處?

將所想使用的功能快速叫出來使用,節省一層層下押的尋找功能鍵時間,就像是要收循文章中的資料,只要按下Ctrl+f 即可快速尋找,則不必先分次按下編輯→尋找文字的功能鍵,或是要開啟新分頁時則是Ctrl+T