Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> JavaScript

ปุ่มภาพ (Image button) ด้วย HTML5

เพื่อเพิ่มปุ่มภาพด้วย HTML5 ใช้ element <button> และวางภาพไว้ภายในก่อนปิด </button>:

<button type="submit" name="learn" value="myimage">
  <p>Tutorials for all</p>
  <img src="https://www.tutorialspoint.com/latest/inter-process-communication.png" />
</button>