Home
HTML
HTML Attributes
Example 7: HTML Attributes
Run ❯❯
<!DOCTYPE html> <html lang="en-US"> <head> <title>src Attribute Example</title> </head> <body> <h1>Image with src Attribute</h1> <p>Location of the image is specified in src attribute.</p> <img src="garden.jpg" width="300" height="300"> </body> </html>