<map>태그는 <area>태그와 함께 이미지맵을 정의할 때 사용합니다. <area>요소를 포함합니다.
name : 이미지맵으로 사용되는 이미지를 지정합니다.
id : 고유 요소를 식별하는데 사용됩니다.
<!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>area태그</h1>
<p>
<img src="sample.jpg" usemap="#sample">
<map name="sample">
<area shape="circle" coords="200,250,25" href="sample.html" />
</map>
</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>
등록된 댓글이 없습니다.