Created
June 10, 2022 18:51
-
-
Save alainlankers/353f1614419c32033823eb284dd1d0a1 to your computer and use it in GitHub Desktop.
HTML option group
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> | |
<label for="framework"> | |
Choose your framework: | |
</label> | |
<select id="framework"> | |
<optgroup label="Frontend"> | |
<option>HTML</option> | |
<option>CSS</option> | |
<option>Javascript</option> | |
</optgroup> | |
<optgroup label="Backend"> | |
<option>PHP</option> | |
<option>Python</option> | |
<option>Ruby</option> | |
</optgroup> | |
</select> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment