CBSE Class 10 Computer Applications
Question 48 of 48
HTML III — Audio, Video and Forms — Question 19
Back to all questions 19
Question Question 19
Write HTML code to produce these controls :
(i) a text box
(ii) a text area with 10 rows and 30 columns
(iii) A password text box
(iv) A pop up box to choose class from it.
(i) a text box
<INPUT TYPE = "TEXT" NAME = "FIRST NAME" />(ii) a text area with 10 rows and 30 columns
<TEXTAREA ROWS = "10" COLS = "30" NAME = "COMMENTS">
Default Text
</TEXTAREA>(iii) A password text box
<INPUT TYPE = "PASSWORD" NAME = "PWD" />(iv) A pop up box to choose class from it.
<SELECT NAME = "CLASS">
<OPTION VALUE = "Class I" SELECTED> Class I </OPTION>
<OPTION VALUE = "Class II"> Class II</OPTION>
<OPTION VALUE = "Class III"> Class III</OPTION>
<OPTION VALUE = "Class IV"> Class IV</OPTION>
<OPTION VALUE = "Class V"> Class V</OPTION>
</SELECT>