mk-webwork codenote
	
<a href="[リンク先]" ontouchstart="">リンクはこちら</a>

疑似クラスを指定した要素、(今回はaタグ)に対して、ontouchstart属性 を追加する。
これを追加することにより、:active と :hover が有効になる。

追加する属性は、ontouchstart 以外にも、ontouchend や ontouchmove でも良いとのこと。

← もどる