Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

334 CHAPTER 7 Working with forms


border-width: medium;
border-color: hsl(255, 100%, 100%);
height: 12px;
text-align: left;
vertical-align: top;
font-family: Arial;
font-size: 12pt;
}


  1. Add another style rule to the bottom of the default.css file for

  2. Open the default.html file.

  3. In the

  4. Press F5 to run to run the application. Click the Contact Us link to display the
    ContactUs.html page. Without entering any data, click the Submit button.
    Notice that the URL has changed, and the QueryString is displayed after the page
    name. Notice also that the name of each element is shown, but there is no data
    because you clicked the Submit button without entering any data. The URL looks like
    the following.
    http://localhost:55506/ContactUs.html?firstName=&lastName=&email=&message=&submit=

Free download pdf