Home / Programs / Write the HTML code for the following form
Programming Example

Write the HTML code for the following form binary tree

👁 866 Views
💻 Practical Program
📘 Step by Step Learning
Write the HTML code for the following form

Program Code

<form>
<table>
    <tr>
	    <td> User Name:</td>
		<td> <input type = "text" name = "first_name" > </td> 
	</tr>	
	<tr>
		<td> Password: </td>
		<td> <input type = "text" name = "last_name" > </td>
	</tr>
	
	<tr>
	   <td></td>
	    <td> <input type = "checkbox" id = "chkPeace" value = "peace"> Remaind Me</td>
	</tr>	
    <tr>	
	   <td></td>
       <td>
	    <input type="submit" name="submit" value="OK">  
	   <input type="reset" value="Clear"> </td>
	<tr>
</table>	
</form>

Output

<h4>Live Preview </h4>
<div class="box effect2">
<img src="http://www.atnyla.com/library/images-tutorials/html-browser.png" class="img-responsive">
<div class="embed-responsive embed-responsive-16by9">
    <iframe class="embed-responsive-item" src="http://www.atnyla.com/library/html/references/forms/html-form-example-1.html"></iframe>
  </div>
</div>

Explanation

none

How to learn from this program

First read the algorithm, then study the program code line by line. After that, compare the code with the output and finally go through the explanation. This approach helps learners understand both the logic and the implementation properly.