如何在不使用其他语言的情况下浏览和显示图像



我有此HTML代码浏览图像

<input type="file" name="image" id="img>. 

如何在不使用JavaScript或任何其他内容的情况下直接显示图像?

no。您至少必须使用JavaScript:https://developer.mozilla.org/en-us/docs/using_files_files_from_web_applications#example.3a.3a.c2.a0showing_thumbnails_thumbnails_of_of_of_user-seleted_images

相关内容

最新更新