私はこれを持っています
<h2 id="caption">Hello World</h2>
<select name="font" id="Font">
<option onClick="document.getElementById('caption').style.fontFamily = 'courier';" value="courier">Courier</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'georgia';" value="georgia" >Georgia</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'palatino';" value="palatino">Palatino Linotype</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'times';" value="times">Times New Roman</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'arial';" value="arial">Arial</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'comic';" value="comic">Comic Sans</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'impact';" value="impact">Impact</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'lucida';" value="lucida">Lucida Console</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'trebuchet';" value="Trebuchet">Trebuchet</option>
<option onClick="document.getElementById('caption').style.fontFamily = 'tahoma';" value="tahoma">Tahoma</option>
</select>
これはフォントスタイルを変更しません、、何が問題なのですか?