Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS Width</title> <style> img.normal { width:auto; } img.large { width:130px; } p.paragraph { height:130px; width:130px; background:#11a286; color:#fff; } </style> </head> <body> <img class="normal" src="https://nexladder.com/images/spituk_gustor.jpeg" width="95" height="84"><br> <img class="big" src="https://nexladder.com/images/spituk_gustor.jpeg" width="95" height="84"> <p class="paragraph">The height and width of this paragraph is 130px.</p> <p>This is a paragraph.</p> </body> </html>