

#
“spellcheck”属性について
“spellcheck”属性は要素の入力内容のスペルチェックを行うかどうかを指定する属性です。対応しているブラウザはスペルミスのある個所に赤い下線を引きます。

一般的にフォーム関連要素や“contenteditable”属性が指定された属性など編集可能な要素がスペルチェックの対象となり、編集できない要素は対象となりません。
“spellcheck”属性が指定されていない場合は親要素の値が継承され、祖先要素に“spellcheck”属性が指定されていない場合はブラウザやデバイスのデフォルトの設定となります。
#
#
サンプルコード
スペルチェックする
<p>
<textarea rows="5" spellcheck="true">
Text wratten in this area will be spell-checked if your browser supports the spellcheck attribute.
</textarea>
</p>
スペルチェックしない
<p>
<textarea rows="5" spellcheck="false">
Text wratten in this area will be spell-checked if your browser supports the spellcheck attribute.
</textarea>
</p>
スペルチェックしない