CodeLab
Tutorials For Everyone
Run
Learn HTML
<!Doctype HTML> <html> <head> <title>Image size</title> </head> <body> <h2>Image size</h2> <p>We can define size for an image using style attribute or by width and height attribute. See the below examle.</p> <img src="https://www.tutsinsider.com/wp-content/uploads/2019/08/coast.jpg" alt="coast" width="200" height="150" /> <img src="https://www.tutsinsider.com/wp-content/uploads/2019/08/ship.jpg" alt="ship" width="200" height="150" /> <img src="https://www.tutsinsider.com/wp-content/uploads/2019/08/taj-mahal.jpg" alt="taj-mahal" width="200" height="150" /> <img src="https://www.tutsinsider.com/wp-content/uploads/2019/08/plane.jpg" alt="plane" width="200" height="150" /> </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