Compiler
CSS Properties
vertical-align
Run
<!DOCTYPE html> <html> <head> <style> .ex1 { vertical-align: baseline; } .ex2 { vertical-align: text-top; } .ex3 { vertical-align: text-bottom; } .ex4 { vertical-align: sub; } .ex5 { vertical-align: super; } </style> </head> <body> <h1>The vertical-align property</h1> <h2>vertical-align: baseline (default)</h2> <p>An <img class="ex1" src="https://webtutor.dev/images/computer.jpg" width="50" height="30"> image with a default alignment.</p> <h2>vertical-align: text-top</h2> <p>An <img class="ex2" src="https://webtutor.dev/images/computer.jpg" width="50" height="30"> image with a text-top alignment.</p> <h2>vertical-align: text-bottom</h2> <p>An <img class="ex3" src="https://webtutor.dev/images/computer.jpg" width="50" height="30"> image with a text-bottom alignment.</p> <h2>vertical-align: sub</h2> <p>An <img class="ex4" src="https://webtutor.dev/images/computer.jpg" width="50" height="30"> image with a sub alignment.</p> <h2>vertical-align: sup</h2> <p>An <img class="ex5" src="https://webtutor.dev/images/computer.jpg" width="50" height="30"> image with a super alignment.</p> </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