Home
HTML
HTML Images
Example 11: HTML Images
Run ❯❯
<!DOCTYPE html> <html> <head> <title>Border around an Image Example</title> </head> <body> <h1>HTML Code for Border around an Image</h1> <img src="garden.jpg" alt="A Garden" style="border:4px solid red;"> <p>Above image has a green color solid border of 4px.</p> </body> </html>