HTML
[Html] media files type
UnoCode
2020. 5. 14. 03:42
- <video> , <embed>, <audio> Sample
1. <video>
1 | <video src="https://content.codecademy.com/courses/SemanticHTML/dog-video.mp4" controls></video> | cs |
속성 : autoplay : 자동시작
controls : 동영상 기본 기능
2. <embed>
html5에서 새로 추가된 태그입니다. 기존에는 object 태그를 이용하여 외부 플러그인 또는 외부 응용프로그램 삽입이 가능했습니다.
1 | <embed src="https://content.codecademy.com/courses/SemanticHTML/dog-on-beach.gif"/> | cs |