html <input type="email">
<input> element with type="element"
Email use number, letter, characters , digit ,alphabetical Upper and lowercase
html <input type="email">
Example
<!DOCTYPE html>
<html>
<body>
<form>
Email: <br>
<input type="email" name="email"><br><br>
<input type= "submit"> <br>
</form>
</body>
</html>
html <input type="email">
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]
<h1> email id </h1>
displays large heading title "email tag"
Step 5]
<form> .......</form>
a form that enter an email
Step 6]
<input type="email" name="email"><br><br>
field user enter an email
Step 6]
<input type=input type="submit"> <br>
input type =" button submit the form
Value = "submit" - text set button text
No comments:
Post a Comment