<!DOCTYPE html> <html> <body> <p>It is used to make a list of group options.</p> Which article you want to read? <select name="Article"> <option name="articles">Articles</option> <optgroup label="Article 1"> <option> Article 1.1 <option> Article 1.2 <option> Article 1.3 </optgroup> <optgroup label="Article 2"> <option> Article 2.1 <option> Article 2.2 <option> Article 2.3 </optgroup> </select> </body> </html>
Run
×
Share