how to add images in hml while using flask



Here is what the above code is Doing:
1. We are importing the url_for function from the flask module.
2. We are passing the name of the static folder and the name of the image to the url_for function.
3. The url_for function will return the path of the image.
4. We are passing the path of the image to the src attribute of the image tag.