Learn HTML audio Tag
password attributes
<input> element with type="password"
html input type password
Example
<!DOCTYPE html>
<html>
<body>
<h1>password Tag</h1>
<form>
Password: <br>
<input type="password" name="pw"
title="Six or more characters"><br><br>
<input type="submit">
</form>
</body>
</html>
Explain program
Step 1 ]
<!Doctype html>
- <!doctype html> always be the first line of any HTML document.
<!Doctype html>
- <!doctype html> always be the first line of any HTML document.
Step 2 ]
<html> and </html>
html is the root element.
<html> and </html>
html is the root element.
Step 3 ]
<body> and </body>
body is main content area.
All visible content inside to the <body> tag
<body> and </body>
body is main content area.
All visible content inside to the <body> tagStep 4]
<input type="password" name="pw" title="Six or more characters"><br><br>
input type = password field
name = pw :- input field name server
title = six or more characters
Step 5]
<input type="submit">
submit button send the form data clicked
html input type password
output
Related Post :-
No comments:
Post a Comment