HTMLのbuttonの使用方法

基本的な書き方は以下のようになる。

<button type="button">クリック!</button>

typebuttonで指定すると基本的には自分でそのクリック処理を記述することになる。
""内には呼び出す関数を記述。

<button type="button" onClick="alert('hello!')">クリック!</button>

ボタンを無効化したいときにはdisableを使用する。

<button type="button" disabled>クリック!</button>