<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
<style>
.fileBox {
width: 500px;
height: 300px;
border: 1px solid black;
}
video {
width: 500px;
height: 300px;
}
img {
width: 500px;
height: 300px;
}
</style>
</head>
<body>
<div class="box">
<p class="fileBox">存放图片的位置</p>
<input type="file" id="file" class="inputCon">
</div>
</body>
<script>
图片视频上传回显
最新推荐文章于 2022-10-14 09:25:52 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)