Prev Demo
HTML5
>
Label
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>HTML label</title> </head> <body> <h2 style="color:green"><i>Label tag is used to add labels in form controls, input tags. </i></h2> <label for="email"> EMAIL-ID:</label><br /> <input type="email" name="emailid" size="30"><br /><br/> <label for="Password">PASSWORD</label><br /> <input type="password" name="password" size="40" maxlength="10" placeholder="Enter Password"> </html>
Note: We DO NOT save your trial code in our database.
Output