सिंटैक्स
निम्नलिखित वाक्य रचना है -
<textarea disabled>
उदाहरण
आइए अब
<!DOCTYPE html> <html> <body> <h2>Candidate Details</h2> Student Name: <input type="text" value="David"><br> Student Id: <input type="number" value="007"><br> <p>Educational Qualification (Graduation)</p> <select> <option value="bca">B.Tech</option> <option value="btech">BCA</option> <option value="bcom">B.COM</option> <option value="bsc">B.SC</option> <option value="bba">BBA</option> </select> <p>Educational Qualification (Post-Graduation)</p> <select> <option value="mca">MCA</option> <option value="mtech">M.Tech</option> <option value="mcom">M.COM</option> <option value="msc">M.SC</option> </select></br> <p>Info:</p> <textarea rows="5" cols="30" disabled> You need to also bring the certificates for the degrees mentioned above. </textarea> </body> </html>
आउटपुट
यह निम्नलिखित आउटपुट देगा -
उपरोक्त उदाहरण में, हमने एक ड्रॉप-डाउन सूची और एक टेक्स्ट क्षेत्र सेट किया है -
<select> <option value="mca">MCA</option> <option value="mtech">M.Tech</option> <option value="mcom">M.COM</option> <option value="msc">M.SC</option> </select></br> <p>Info:</p> <textarea rows="5" cols="30" disabled> You need to also bring the certificates for the degrees mentioned above. </textarea>
<textarea rows="5" cols="30" disabled> You need to also bring the certificates for the degrees mentioned above. </textarea>