|
..... |
|
![]() |
|||||||||
<img> : You can use this tag to insert an IMAGE in your web page. You use the src attribute of the image tag to specify the location of the image file. Example:
How the HTML code above looks in a browser:
Browser Support
The <img> tag is supported in all major browsers. Example:
How the HTML code above looks in a browser: Try it in your own. background: You can use the background attribute of the <img> tag to insert an image in the background of the page. Example:
How the HTML code above looks in a browser: Try it in your own. bgcolor: You can use the bgcolor attribute of the <body> tag to change the background color of the docoment. Example:
How the HTML code above looks in a browser: Try it in your own. Previous Next |
![]() |