建立文字按鈕
- Internet Explorer 6.0
- Internet Explorer 7.0
- Internet Explorer 8.0
- Mozilla Firefox 2.0
- Mozilla Firefox 3.0
- Google Chrome
- Safari 3.1
- Opera 9.5
- 建立文字按鈕 - 建立一個文字按鈕以供執行各重指令之用
- 語法總長度:63 字元
<input type="button" name="hello" value="我是一個按鈕" />
- 修改文字按鈕的名稱(必需修改!因為同一網頁內所有物件都應有自己獨有的名稱):
<input type="button" name="hello" value="我是一個按鈕" />
- 修改按鈕中的文字:
<input type="button" name="hello" value="我是一個按鈕" />