Compiler
CSS Properties
display
Run
<!DOCTYPE html> <html> <head> <style> p {color: #ff4842;} .ex1 {display: none;} .ex2 {display: inline;} .ex3 {display: block;} .ex4 {display: inline-block;} </style> </head> <body> <h1>The display Property</h1> <h2>display: none</h2> <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. <p class="ex1">Webtutor</p> Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. </div> <h2>display: inline</h2> <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. <p class="ex2">Webtutor</p> Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. </div> <h2>display: block</h2> <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. <p class="ex3">Webtutor</p> Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. </div> <h2>display: inline-block</h2> <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. <p class="ex4">Webtutor</p> Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. </div> </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