Sunday, 17 April 2016

Password, Button, Drop Down Menu

Password, Button, Drop Down Menu in HTML <input type = "password"> defines a  password field
Password in HTML
<html>
<body>
<form>
Username:<input type = "text" name ="user"><br>
 Password:<input type = "password" name = "password">
</form>
<body>
</html> 
OUTPUT:-

Username:
Password:
Note:- The Character in a password field are masked or circle.

Drop down Menu in HTML
<html>
<body>
<form> 
Select any Fruit you want to like
<select> <option value = "apple"> Apple</option>  

<option value = "mango"> Mango</option> 
<option value = "orange">Orange</option>   
</select>
</form> 
</body>
<html> 
OUTPUT

Select any Fruit you want to like
Button Example in HTML
<html>
<body>
<form>
<input type = button" value = " You Like my Examples Please share with friends" >
</form>
</body>
</html> 

OUTPUT
 Note:-  you also Learn C, C++ Tutorial Please Click this link for C, C++ Tutorial

No comments:

Post a Comment