ตัวอย่างการประยุกต์ใช้กับ
Button
<form>
<p><font face="MS Sans Serif, Microsoft
Sans Serif" size="1">HTML
เป็นคำย่อของ ? </font>
<p><font face="MS Sans Serif, Microsoft
Sans Serif" size="1">
1:
<input type="button" name="button"
value="HyperText Markup Language " onClick="alert('เก่งมากครับ');
return true">
</font>
<p><font face="MS Sans Serif, Microsoft
Sans Serif" size="1">2:
<input type="button" name="button"
value="HyperText Making Language " onClick="alert('ลองดูอีกทีสิครับ');
return true">
</font>
<p><font face="MS Sans Serif, Microsoft
Sans Serif" size="1">3:
<input type="button" name="button"
value="HyperText Marking Learning " onClick="alert('ผิดแล้วล่ะครับ');
return true">
</font>
</form>
|