Compiler
CSS Advanced
CSS Text Effects
Run
<!DOCTYPE html> <html> <head> <style> p { width: 150px; border: 1px solid black; } .ex1 { word-wrap: normal; } .ex2 { word-wrap: break-word; } </style> </head> <body> <h2>word-wrap: normal (default)</h2> <p class="ex1"> This div contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will not break and wrap to the next line.</p> <h2>word-wrap: break-word</h2> <p class="ex2"> This div contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.</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