ลิงก์ปุ่ม HTML

รหัสลิงค์ปุ่ม HTML

ลิงก์ปุ่ม HTML

ไม่มีจาวาสคริปต์:

<form action="../html-link.htm">
    <input type="submit" value="This is a button link">
</form>

ด้วยจาวาสคริปต์:

<input type="button" value="This is button link" onclick="window.location.href='../html-link.htm'">

 


ดูสิ่งนี้ด้วย

Advertising

ลิงค์ HTML
°• CmtoInchesConvert.com •°