FY B.sc IT Practical 4(B): Design a web page with a form that uses all types of controls

Code:

<!DOCTYPE html>

<html>

<head>

<title>Password Input Control</title>

</head>

<body>

<form >

User ID : <input type="text" name="user_id" />

<br>

Password: <input type="password" name="password" />

<br>

Description : <br />

<textarea rows="5" cols="50" name="description">

Enter description here...

</textarea>

<br>

<input type="checkbox" name="maths" value="on"> Maths

<input type="checkbox" name="physics" value="on"> Physics

<br>

<input type="radio" name="subject" value="maths"> Maths

<input type="radio" name="subject" value="physics"> Physics

<br>

<select name="dropdown">

<option value="Maths" selected>Maths</option>

<option value="Physics">Physics</option>

</select>

<br>

<input type="submit" name="submit" value="Submit" />

<input type="reset" name="reset" value="Reset" />

<input type="button" name="ok" value="OK" />

<input type="image" name="imagebutton" src="/html/images/logo.png" />

</form>

</body>

</html> 

Comments

Popular posts from this blog

Program using Light Sensitive Sensors on Tinkercad

Create an android app that demonstrates Activity Lifecycle and Instance State.