CodeLab
Tutorials For Everyone
Run
Learn CSS
<!Doctype HTML> <html> <head> <title>The Background Image</title> <style> body{ background-image: url("https://www.tutsinsider.com/wp-content/uploads/2019/09/picelement-800.jpg"); color: white; } .mycontent{ background: #00000099; padding: 20px; margin: -10px; position: absolute; bottom: 0; } </style> </head> <body> <div class="mycontent"> <h2>Background Image</h2> CSS Background image property will define the background image for body of the document as specified. <h3>Background image for Body of Document</h3> <p>Attach some background image here and see the results</p> </div> </body> </html>
Editor Commands
Ctrl
F
Find
Ctrl
G
Find Next
Ctrl
⇧
G
Find Previous
Ctrl
⇧
F
Find & Replace
Ctrl
]
Indent Code Right
Ctrl
[
Indent Code Left
⇧
Tab
Auto Indent Code
Ctrl
/
Line Comment
Ctrl
Alt
/
Block Comment
TutsInsider Actions
Alt
S
Run Code
Ctrl
C
Copy Editor Code
Ctrl
A
Select All Editor Code
Ctrl
S
Save/Download
Ctrl
Alt
X
Rotate
Ctrl
Alt
T
Switch Theme
Ctrl
⇧
C
Open Console
Esc
Close Console