Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <style> img.normal { height:auto; } img.big { height:120px; } p.ex { height:100px; width:100px; } </style> </head> <body> <img class="normal" src="logocss.gif" width="95" height="84" /><br> <img class="big" src="logocss.gif" width="95" height="84" /> <p class="ex">The height and width of this paragraph is 100px.</p> <p>This is a paragraph with no height and width specified. This is a paragraph with no height and width specified. This is a paragraph with no height and width specified.</p> </body> </html>
Result:
W3Schools.com - Try it yourself