In this post, I will show how does img tag works.
Syntax
<img src="image_address.jpg" alt="image_name">
Here
img - image tag
src attribute - address of the image
alt attribute- alternative for the image
.............................................................................
Example
src="https://4.bp.blogspot.com/-aKWjUtXB3b4/Wh33H2KcOxI/AAAAAAAAAH4/-jpfsTpvjgkO5Ac50PAMN0tlhTwwNyAoQCLcBGAs/s1600/gplus.jpeg"
alt="googleplusimage"
final image tag
<img src="https://4.bp.blogspot.com/-aKWjUtXB3b4/Wh33H2KcOxI/AAAAAAAAAH4/-jpfsTpvjgkO5Ac50PAMN0tlhTwwNyAoQCLcBGAs/s1600/gplus.jpeg" alt="googleplusimage">
-----------------------------------------------
Output
Syntax
<img src="image_address.jpg" alt="image_name">
Here
img - image tag
src attribute - address of the image
alt attribute- alternative for the image
.............................................................................
Example
src="https://4.bp.blogspot.com/-aKWjUtXB3b4/Wh33H2KcOxI/AAAAAAAAAH4/-jpfsTpvjgkO5Ac50PAMN0tlhTwwNyAoQCLcBGAs/s1600/gplus.jpeg"
alt="googleplusimage"
final image tag
<img src="https://4.bp.blogspot.com/-aKWjUtXB3b4/Wh33H2KcOxI/AAAAAAAAAH4/-jpfsTpvjgkO5Ac50PAMN0tlhTwwNyAoQCLcBGAs/s1600/gplus.jpeg" alt="googleplusimage">
-----------------------------------------------
Output

Comments
Post a Comment