HTML 태그 - object
본문
HTML 태그 - object
<object>태그는 임베디드 멀티미디어를 정의할 때 사용합니다. 파라미터와 함께 사용됩니다.
속성
classid : 객체의 위치를 지정합니다.
data : 객체 데이타의 위치를 지정하는데 사용됩니다.
codebase : 수행해야 하는 기본위치를 지정합니다.
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>object태그</h1>
<p>
<object data="sample.swf" type="application/x-shockwave-flash">
<param name="foo" value="bar">
</object>
</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>
- 이전글HTML 태그 - ol 14.12.11
- 다음글HTML 태그 - noscript 14.12.11