Advertisements
Advertisements
प्रश्न
Given a form as shown below. Write code to get a form equivalent to this:

कोड लेखन
Advertisements
उत्तर
<html>
<body>
<form id='sampleform' method='post' action=’’ >
<p>
Name: <input type='text’ name='Name' />
</p>
<p>
Email: <input type=’text’ name=’Email' />
</p>
<p>
<input type="checkbox" name="subscribe" checked />Subscribe to the News Letter
</p>
<p>
Format of the Email :
<p>
<input type="radio" name="format" value="html" checked='checked' />HTML
</p>
<p>
<input type="radio" name="format" value="text" />Plain Text
</p>
</p>
<p>
Type of subscription you want:
<p>
<select name="type">
<option value="standard">Standard - Free</option>
<option value="prof">Professional - Paid</option>
</select>
</p>
</p>
<p>
Comments to the editor:<br/>
<textarea name="comments" rows="7" cols="30"></textarea>
</p>
<p>
<input type=’submit' name='Submit’ value='Submit' />
</p>
</form>
</body>
</html>shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
