Front/HTML
HTML Step 19
NOOWGNAJ
2022. 7. 11. 21:24
반응형
이미지파일 첨부 :
동영상파일 첨부 :
자료형 파일 첨부 :
시험 파일 첨부 :
음악 파일 첨부 :
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>HTML 3일차 5 HTML4.0 + CSS2.0 응용2 </title>
<style>
body{
margin: 10px;
padding : 0;
}
</style>
</head>
<body>
<!-- input type="file" 은 첨부파일 사용시 적용되는 태그 속성입니다. -->
모든 파일 첨부 : <input type="file"> <br>
이미지파일 첨부 : <input type="file" accept="image/png, image/jpeg"> <br>
동영상파일 첨부 : <input type="file" accept="video/mp4, video/avi, mpeg,webm"> <br>
자료형 파일 첨부 : <input type="file" accept="application/pdf,.xls, .sql"> <br>
시험 파일 첨부 : <input type="file" multiple> <br> <!-- multiple : 중복선택 가능 -->
음악 파일 첨부 : <input type="file" accept="audio/*">
</body>
<script>
</script>
</html>
반응형