Home
HTML
HTML Attributes
Example 10: HTML Attributes
Run ❯❯
<!DOCTYPE html> <html lang="en-US"> <head> <title>width height Attribute Example</title> </head> <body> <h1>Image with width and height Attributes</h1> <p>An image whose width is set to 300 pixels and whose height is set to 250 pixels.</p> <img src="aloevera.jpg" alt="A Garden" width="300" height="250"> </body> </html>