A login form with submit button : form : Form Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Form Style » form »

 

A login form with submit button


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

  <title>A login form with submit button</title>
  
</head>

<body>

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

    <p><label for="username">Your Username:</label> <input type="text" id="username" name="username" /></p> 
    <p><label for="password">Your Password:</label> <input type="password" id="password" name="password" /></p> 
    <p><input type="submit" name="login" value="Log In" /></p>

  </form>


</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Form Style
» form