target属性 - リンクを開くコンテキスト
area要素のtarget属性はハイパーリンクを開くコンテキストを指定する属性です。a要素のtarget属性と仕組みは同じです。
概要
値
コンテキスト名を表す文字列。
<area href="https://syncer.jp/" target="_blank">
説明
デモ
target属性を指定したデモです。
<!-- このコードは編集できます。 -->
<img src="./image.png" usemap="#my-circle-01" width="200" height="200">
<map name="my-circle-01">
<area shape="circle" coords="100,100, 50" href="https://syncer.jp/" target="_blank" alt="SYNCER">
</map>
サポート状況
クリックすると、バージョンごとの対応状況を確認できます。
Chrome | Firefox | Safari | Edge | IE | Opera | iOS Safari | Android |
---|---|---|---|---|---|---|---|
● | ● | ● | ● | ● | ● | ● | ● |