HTML Forms Piggy-back on Internet Programs Google example Validator example
client 1.Browser sends URL to request service Internet web server 2. Server acts 3. Sends to client 4. Browser displays page - Serves response - Handles request
Example – Google Search service Make HTML Form sends search variable named q and its value to Google Search program
?source=ig&hl=en&rlz=&q=snow&aq=f&oq=&aqi=g10 Google Query String source=ig & hl=en & rlz= & q=snow & aq=f & oq= & aqi=g10 Variable names = values program action variables
Search key Human language action=" activates Form: sends data to Google server asks server to execute search Form data/variables Google program requested HTML FORM LAYOUT
W3 Validator Query String uri= … & charset=%28detect+automatically%29 & doctype=Inline & group=0 & ss=1 ?uri=&charset=%28detect+automatically%29&doctype=Inline&group=0&ss=1 program action variables
URL of Page action="validator.org/check" activates Form: sends data to validator.org server asks server to execute check Form data/variables Validator Service requested HTML FORM LAYOUT URL for test page show source code