HTML5 동영상강좌 바로가기 

댓글 목록

HTML 태그 - embed

페이지 정보

작성자 운영자 작성일 14-12-11 12:11 조회 6,584 댓글 0

본문

 

HTML 태그 - embed

<embed>태그는 플러그인 컨텐츠를 표시하는데 사용합니다. html5에서 추가된 태그입니다.

속성

src : 플러그인되는 외부 애플리케이션의 URL을 지정합니다.

width, height : 플러그인되는 리소스의 너비 및 높이값을 지정합니다.

type : 플러그인되는 리소스의 MIME type을 지정합니다. 

 

샘플

<!DOCTYPE html>
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="author" content="코리아뉴스" />
  <title> html공부 </title>
  <link rel="stylesheet" type="text/css" href="default.css" / >
  <style type="text/css">
  body {
   color:red;
  }
  </style> 
 </head>
 <body>
  <section>
   <h1>embed태그</h1> 
   <p> 
   <embed src="sample.mov" type="video/quicktime" width="300" height="150"> 
   </p>
  </section>
  <div id="related">
   <p>영역 </p>
  </div>
  <footer>
      <address> 전화 : 031-574-3659, E-mail : master@koreanews.com </address> 
                             Copyright ⓒ 2013 Koreanews co.,  All Rights Reserved.
  </footer>
 </body> 

</html> 

댓글목록 0

등록된 댓글이 없습니다.


HTML5 동영상강좌 바로가기