html form templates code example

Example 1: basic html template

Basic Html Template:
<html>
  <head>
    <title>
    	/* document title here */
    </title>    
    /* document meta information and external file include written here */
  </head>
  <body>
  	/* document body goes here */
  </body>
</html>

Example 2: html form templates

<form action="" method="post">
  <!-- a hidden input -->
  <input type="hidden" name="a_hidden_input"/>
  
  <!-- a text input -->
  <input type="text" name="a_text_input"/>

  <!-- submit button -->
  <input type="submit" value="Submit"/>
</form>

Tags:

Misc Example