Compiler
HTML Tags
<optgroup>
Run
<!DOCTYPE html> <html> <body> <h1>This is the optgroup tag</h1> <p> The optgroup tag is used in a drop-down list to group related options: </p> <form action="/action.php"> <label for="bike">Choose a bike:</label> <select name="bike" id="bike"> <optgroup label="Standard Bike"> <option value="royal">Royal Enfield Meteor</option> <option value="yezdi">Yezdi Roadster</option> <option value="ktm">KTM Duke 200</option> </optgroup> <optgroup label="German Cars"> <option value="Yamaha">Yamaha YZF</option> <option value="bajaj">Bajaj Pulsar </option> <option value="suzuki">Suzuki Gixxer </option> <option value="honda">Honda</option> </optgroup> </select> <br><br> <input type="submit" value="Submit"> </form> </body> </html>
Editor Commands
Commands
Shortcut Key (Win)
Shortcut Key (Mac)
selectAll
Ctrl-A
Cmd-A
singleSelection
Esc
-
killLine
-
Ctrl-K (Mac)
deleteLine
Ctrl-D
Cmd-D
undo
Ctrl-Z
Cmd-Z
redo
Ctrl-Y
Shift-Cmd-Z, Cmd-Y
undoSelection
Ctrl-U
Cmd-U
redoSelection
Alt-U
Shift-Cmd-U
goDocStart
Ctrl-Home
Cmd-Up, Cmd-Home
goDocEnd
Ctrl-End
Cmd-End, Cmd-Down
goLineStart
Alt-Left
Ctrl-A
goLineEnd
Alt-Right
Ctrl-E
goLineRight
-
Cmd-Right
goLineLeft
-
Cmd-Left
goLineUp
Up
Ctrl-P
goLineDown
Down
Ctrl-N
goPageUp
PageUp
Shift-Ctrl-V
goPageDown
PageDown
Ctrl-V
newlineAndIndent
Enter
-
save
Ctrl-S
Cmd-S