How to Design an HTML Login Web Page

Hypertext Markup Language (HTML) provides a set of markup tags designed to make designing a login page quick and efficient. By enclosing form fields between the <form></form> tags in the body of the HTML page, all web browsers understand there are fields in the form to be submitted back to the server. Things you commonly see in an HTML login form include text boxes for a user name and password, and a button to submit the information.

Things You'll Need

  • Text editor
  • Web browser
Show More

Instructions

    • 1

      Open a new document in the text editor.

    • 2

      Type:

      <form method="post" action="">

      Press "Enter" on the keyboard.

    • 3

      Type:

      Name: <input type="text" name="username" />

      Press "Enter" on the keyboard.

    • 4

      Type:

      <input type="password" name="pwd" />

      Press "Enter" on the keyboard.

    • 5

      Type:

      <input type="submit" value="Submit" />

      Press "Enter" on the keyboard.

    • 6

      Type:

      </form>

    • 7

      Save the file with the .htm or .html extension, and then open it in your web browser to see the results.

Tips & Warnings

  • Using "password" rather than "text" on the type attribute automatically masks the password when typed in the page.

  • You should only put form HTML tags between the <body></body> tags in an HTML page--never between the <head></head> tags.

Related Searches:

References

Resources

Comments

You May Also Like

  • How to Create an HTML Login Page

    Log-in pages are used in websites as initial screens to get access to confidential information. Log-in pages require at minimum a username...

  • HTML Login Tutorial

    Web development often calls for securing online data from unauthorized users and potential hackers. One commonly used method of securing data and...

  • How to Design an HTML Web Page

    HTML (HyperText Markup Language) creates the structure, layout and design of a Web page. Many widely available web-editing programs make it easy...

  • How to Make a Login Web Page

    Login pages are an essential component of many dynamic web applications. They lend an air of authority and security to any website,...

  • How to Make HTML Forms

    In HTML, a form is the part of a document that contains controls and their labels. An HTML control is an element...

  • How to Design a Password Protected Web Page

    Save your HTML page. Open your FTP program and upload your HTML page to your server. Make sure that visitors to your...

  • How to Embed a Login Box in HTML

    If you are creating a website that you want users to log in to before accessing, you can place a login box...

  • How to Put a Login Security Into My Web Page

    Adding login security allows webmasters greater options for controlling who can see specific content while monitoring whether visits to the site come...

  • How to Design a Web Page in ASP Net

    ASP.NET is a framework distributed by the Microsoft corporation for developing Web applications. It is available for free. A Windows machine is...

Related Ads

Featured