Sei sulla pagina 1di 2

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.

0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript">
function showresult()
{
x=document.forms["myform"]["newinput"].value;
document.forms
}

</script>
</head>

<body>
<form >
<p>
<br/><br/>
<label for="FirstName">FirstName:</label>
<input type="text" id="FirstName" size="30" maxlength="10"
required="required"/><br/>

<label for="FirstName">LastName:</label>
<input type="text" id="LastName" value="abc" readonly="readonly"
/><br/>

<label for="email" autocomplete="on" >email:</label>


<input type="text" id="email" value="abc@gmail.com"
disabled="disabled"/><br/>

<input type="radio" name="sex" value="male" />Male<br />


<input type="radio" name="sex" value="female" />Female<br />

<input type="submit" value="send" /> &nbsp; <input type="reset" /><br/>

<label for="Colour">Colour:</label>
<input type="color" name="fav" /><br/>

<label for="Date">Date:</label>
<input type="date" name="bday" /><br/>

<label for="Bdaymax">Bday Max:</label>


<input type="date" name="bday" max="1900-12-31"/><br/>

<label for="localtime">Local Time:</label>


<input type="datetime-local" name="mytime" /><br/>

<label for="Month">Month:</label>
<input type="month" name="mn" /><br />

<label for="number">Number:</label>
<input type="number" name="qty" min="1" max="5" /><br />

<label for="points">Points:</label>
<input type="number2" name="pts" min="0" max="100" step="10" value="30"
/><br/>

<label for="Range">range:</label>
<input type="range" name="pt2" min="0" max="10" /><br/>

<label for="Search">Search:</label>
<input type="search" name="glsrch" /><br/>

<label for="Telephone">Telephone:</label>
<input type="tel" name="usrtl" /><br/>

<label for="Time">Time:</label>
<input type="time" name="usrtm" /><br/>

<label for="Week">week:</label>
<input type="week" name="week_year" /><br/>

<label for="image">Image:</label>
<input type="image" src="" alt="no img" width="48" height="56" /><br/>

<label for="Schools">Schools:</label>
<input list="schools" >
<datalist id="sch">
<option value="biscoe"/>
<option value="biscoe"/>
<option value="biscoe"/>
</datalist>

</p>
</form>
</body>
</html>

Potrebbero piacerti anche