Compiler
HTML
HTML Layout
Run
<!DOCTYPE html> <html> <head> <title>Webtutor.dev</title> <style> body { margin: 0 auto; background-position:center; background-size: contain; } header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px; border-bottom: 1px solid #eee; } .logo img { height:35px; } .menu a { color: #212b36; text-align: center; padding: 12px 16px; text-decoration: none; font-size: 18px; } .hero { display: flex; align-items: center; justify-content: center; height: calc(100vh - 115px); padding:16px; } .hero h3 { font-size: 30px; } footer { position: absolute; bottom: 0; width: 100%; font-size: 20px; font-weight: bold; background-color: #00ab55; color: #fff; padding: 16px 0; text-align: center; } </style> </head> <body> <!-- Header Section --> <header> <div class="logo"> <img src="https://webtutor.dev/assets/img/logo/logo.svg" alt="Webtutor.dev"> </div> <!-- Menu Navigation Bar --> <div class="menu"> <a href="#home">Home</a> <a href="#html">HTML</a> <a href="#css">CSS</a> <a href="#javascript">Java Script</a> </div> </header> <!-- Body section --> <section class="hero"> <h3>Content section</h3> </section> <!-- Footer Section --> <footer>Footer Section</footer> </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