how to use the img tag

后端 未结 2 553
小蘑菇
小蘑菇 2021-01-16 16:33

i am a student working in an simple application and i do not know how to use the img tag and i have tryed one such code but while executing the code the image is not showing

2条回答
  •  悲&欢浪女
    2021-01-16 16:40

    The problem is that you are using an address to an image on your computer, so that will only work when you view the page from that specific computer.

    You should copy the image into the web application, for example into a folder named images, then you use that address in the image tag:

    
    

提交回复
热议问题