Adding Image in html

前端 未结 3 1614
南旧
南旧 2021-01-27 11:13

I cannot seem to add an image in html. I\'m using ASP.net MVC 3. My image, named KeyLargoPic, is located on a flash drive in the folder X:\\Project\\Project\\Photos\\Key Largo

3条回答
  •  忘了有多久
    2021-01-27 11:35

    Add the image to your project, probably in the content directory, by right clicking the directory and clicking "Add" then "Existing Item", browse to your jpeg and click "Add". With your image now part of the project you can add it to the webpage like so:

    IMAGE
    

提交回复
热议问题