๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๊ฐœ์ธ๊ณต๋ถ€/HTML5 + CSS3

[HTML+CSS][HTML5์™€ ๋ฉ€ํ‹ฐ๋ฏธ๋””์–ด] 03 - ์—ฐ์Šต๋ฌธ์ œ

by ๐Ÿ‡๋ฐ•๋ด‰๋ด‰๐Ÿ‡ 2020. 7. 17.

 

01

 

<!DOCTYPE html>

<html lang="ko">
<head>
    <meta charset="utf-8">
    <title>๋ฉ€ํ‹ฐ๋ฏธ๋””์–ด ์žฌ์ƒํ•˜๊ธฐ</title>
		<style>
			#container {
        width:600px;
        margin:10px auto;
        padding:20px;
			}
		</style>
</head>
<body>
  <div id="container">
    <h1>์˜ค๋””์˜ค ์žฌ์ƒํ•˜๊ธฐ</h1>
    <audio src="media/bgsound2.mp3" controls></audio>
  </div>
</body>
</html>

 

 


 

 

02

 

<!DOCTYPE html>

<html lang="ko">
<head>
    <meta charset="utf-8">
    <title>๋ฉ€ํ‹ฐ๋ฏธ๋””์–ด ์žฌ์ƒํ•˜๊ธฐ</title>
		<style>
			#container {
        width:600px;
        margin:10px auto;
        padding:20px;
			}
		</style>
</head>
<body>
  <div id="container">
    <h1>SUMMER BEACH</h1>
    <video width="400px" height="220px" controls>
        <source src="media/Beach.mp4" type="video/mp4">
        <source src="media/Beach.webm" type="video/webm">
    </video>
  </div>
</body>
</html>

 

 


 

 

< ์ฐธ๊ณ  >

Do it! HTML5+CSS3 ์›น ํ‘œ์ค€์˜ ์ •์„

 

 

โ€ป ํ•ด๋‹น ๊ธ€์€ ์Šต๋“ ๋ชฉ์ ์œผ๋กœ ์ž‘์„ฑ๋œ ๊ธ€์ž…๋‹ˆ๋‹ค โ€ป

 

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€