How to Create Password Fields

How to Create Password Fields thumbnail
Create Password Fields

A password field comes in extremely handy when creating a web page. Whether you want people to use a password to access your site, or to create a password when they join, the password field helps you in both of these areas. Using simple HTML, it only takes a few minutes to add one to your web page. Here's how to create a password field with HTML.

Instructions

    • 1

      Open the HTML document for the website you want to add the password to.

    • 2

      Find the section of the document where you want the password field to appear.

    • 3

      Insert the following code into your HTML document:
      <form action=" ">
      Password:
      <input type="password" name="password">
      </form>

    • 4

      Replace <form action= " "> with the proper format for how you want the site to react to the information. For example, <form action="webaddress.com" method="post"> would send it to the website you entered.

    • 5

      Save your document and check that the necessary changes were made to your web page.

Tips & Warnings

  • Anything typed in the password field on your website will appear as dots on the screen to protect the users privacy.

Related Searches:

References

  • Photo Credit "Password." [Online image] Available http://www.byui.edu/wireless/setup-manual-vista.htm, 14 June 2009.

Comments

You May Also Like

Related Ads

Featured