Home
HTML
HTML Images
Example 4: HTML Images
Run ❯❯
<!DOCTYPE html> <html> <head> <title>An Image in the Different Folder Example</title> </head> <body> <h1>An Image in the Different Folder Example</h1> <img src="/html/edgelogo.png" alt="Logo of Microsoft Edge Browser"> <p>The image edgelogo.png is available in the html folder. Hence we require the name of the image with complete path in src attribute i.e. '/html/edgelogo.png'.</p> </body> </html>