Sometimes, we want to close img tag with HTML.
In this article, we’ll look at how to close img tag with HTML.
How to close img tag with HTML?
To close img tag with HTML, we add a slash at the end before the closing bracket.
For instance, we write
<img src="example.png" />
to add />
to close the img tag.
Conclusion
To close img tag with HTML, we add a slash at the end before the closing bracket.