1 / 8

HTML Forms

Piggy-back on Internet Programs. HTML Forms. Google example. W3C Validator example. Browser sends URL to web server to request service. 2. Server. Internet web server. - Handles request. client. - Serves response. 3. Sends results to client. 4. Browser

jemma
Télécharger la présentation

HTML Forms

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Piggy-back on Internet Programs HTML Forms Google example W3C Validator example

  2. Browser sends • URL to web server • to request service 2. Server Internet web server - Handles request client - Serves response 3. Sends results to client 4. Browser displays page

  3. Google home page Has an HTML Form that sends search variable named q and its value entered by user to script named search at host computer www.google.com

  4. Analyzing Google Query String http://www.google.com/search ?source=ig&hl=en&rlz=&q=snow&aq=f&oq=&aqi=g10 source=ig & hl=en Variables names = values & rlz= & q=snow & aq=f & oq= remote host (google.com) program (search) & aqi=g10 variables

  5. HTML Form Google program requested Form data/variables <form> </form > action="www.google.com/search" <input type="text" name="q" /> Search key <br> <input type="text" name="hl" /> Human language <br> <input type="submit" value ="Google Search" /> activates Form: sends data to Google server asks server to execute search

  6. w3c HTML-Validator Service Example

  7. W3 Validator Query String http://validator.w3.org/check ?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

  8. HTML FORM LAYOUT Validator Service requested Form data/variables URL for test page <form > </form > action="validator.org/check" show source code <input type="text" name="uri" /> URL of Page <br> <input type="hidden" name="ss" value=1 /> <input type="submit" value ="Validation Service" /> activates Form: sends data to validator.org server asks server to execute check

More Related