onmousedown属性
onmousedown属性は、要素の上でマウスなどのポインティングデバイスのボタンが押された際に発生するイベントの処理を設定するための属性です。
属性値にスクリプトを指定することで、要素の上でポインティングデバイスのボタンが押された際に実行される処理を設定することができます。
参考
- HTML 4.01 Specification
 
この属性が設定可能な要素
- a
 - abbr
 - acronym
 - address
 - area
 - b
 - big
 - blockquote
 - body
 - button
 - caption
 - center
 - cite
 - code
 - col
 - colgroup
 - dd
 - del
 - dfn
 - dir
 - div
 - dl
 - dt
 - em
 - fieldset
 - form
 - h1
 - h2
 - h3
 - h4
 - h5
 - h6
 - hr
 - i
 - img
 - input
 - ins
 - kbd
 - label
 - legend
 - li
 - link
 - map
 - menu
 - noframes
 - noscript
 - object
 - ol
 - optgroup
 - option
 - p
 - pre
 - q
 - rb
 - rbc
 - rp
 - rt
 - rtc
 - ruby
 - s
 - samp
 - select
 - small
 - span
 - strike
 - strong
 - sub
 - sup
 - table
 - tbody
 - td
 - textarea
 - tfoot
 - th
 - thead
 - tr
 - tt
 - u
 - ul
 - var
 
この属性が定義されているDTD
この属性がDTD内で定義されていることを○で示しています。
| HTML 4.01 | XHTML 1.0 | XHTML 1.1 | ||||
|---|---|---|---|---|---|---|
| Strict | Transitional | Frameset | Strict | Transitional | Frameset | |
| ○ | ○ | ○ | ○ | ○ | ○ | ○ | 
ミツエーリンクスでは、デジタルメディアにおける企業と顧客とのコミュニケーション課題を解決する、さまざまなサービスをご提供しています。ぜひ一度サービスページをご覧ください。