이미지 <img>
<img src="poster.jpg" width="750" height="530" alt="영화 명량 포스터">
비디오 <video>
자동 재생을 하는 autoplay 속성,
음소거를 하는 muted,
조작하는 버튼들을 보여 주는 controls 속성
<video autoplay muted controls src="trailer.mp4" width="750" height="530">
</video>
오디오 <audio>
자동 재생을 하는 autoplay
조작하는 버튼들을 보여 주는 controls 속성
<audio autoplay controls src="intro.mp3">
</audio>
iframe <iframe>
인라인 프레임이라는 뜻으로, 다른 HTML 문서를 문서 안에 집어넣을 때 사용합니다.
<iframe src="banner.html" width="750" height="135">
</iframe>
'program > web(html,css)' 카테고리의 다른 글
[html] placeholder required autocomplete (0) | 2024.02.03 |
---|---|
[html] post 방식 데이터 확인 (0) | 2024.02.03 |
[html] video tag (0) | 2024.02.03 |
[html] 테이블 (0) | 2024.02.03 |
[css]캐스케이드(Cascade) (0) | 2024.02.03 |