Click Here to view Result after edited
Return to html and xhtml 22 hour tutorial,
or
Return Back
<DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.1 / / EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" /> <html xmlns = "http:// www.w3.org/1999/xhtml " /> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> HTML input labels example - HTML tutorial, XHTML Guide </ title> </ head> <body> <p> <a href="http://www.nt22.com/xhtml-html/" /> HTML tutorial </ a> <a href = "http: / / www.nt22.com/xhtml-html/tag_input/ " /> <strong> input </ strong> </ a> <a href =" http://www.nt22.com/xhtml-html/form/ " /> form </ a> tag example </ p> <form id = "nt22" action = "http://www.nt22.com/nt22.php" method = "post" enctype = "multipart / form-data " /> <fieldset> <legend> user name and password: </ legend> <input id="hiddenField" name="hiddenField" type="hidden" value="hiddenvalue" /> <label for="username" /> User : </ label> <input type="text" id="username" name="username" value="nt22" size="15" maxlength="25" /> <label for="pass" /> Password: < / label> <input type="password" id="pass" name="pass" size="15" maxlength="25" /> </ fieldset> <fieldset> <legend> Sex: </ legend> <label for = "sex" /> F </ label> <input type="radio" value="1" id="sex" name="sex" /> <label for="sex" /> women </ label> <input type = "radio" value = "2" id = "sex" name = "sex" /> <label for="sex" /> confidentiality </ label> <input type = "radio" value = "3" id = " sex "name =" sex " /> </ fieldset> <fieldset> <legend> Hobbies: </ legend> <label for="fav" /> computer </ label> <input type =" checkbox "value =" 1 " id = "fav" name = "fav" /> <label for="fav" /> tourism </ label> <input type="checkbox" value="2" id="fav" name="fav" /> < label for = "fav" /> shopping </ label> <input type="checkbox" value="3" id="fav" name="fav" /> </ fieldset> <fieldset> <legend> Photos: < / legend> <label for="myimage" /> personalized photo upload </ label> <input type="file" id="myimage" name="myimage" size="35" maxlength="255" /> </ fieldset> <fieldset> <legend> submitted: </ legend> <input type="submit" value="submit" id="submit" name="submit" /> <input type = "reset" value = "reset" id = "reset" name = "submit" /> </ fieldset> </ form> </ body> </ html>