Hacker News new | ask | show | jobs
by adam_beck 231 days ago
From MDN:

> Note: While <input> elements of type button are still perfectly valid HTML, the newer <button> element is now the favored way to create buttons. Given that a <button>'s label text is inserted between the opening and closing tags, you can include HTML in the label, even images.