Yummysheep Tutorial

Back to the catalog

Last Update : 2023/3/26

Chatper 3 - Button and Link

1. Button


The button tag creates a clickable button in HTML5. Here is an example



By using onclick(), something will happen when the button was clicked:



You can also use a button to make the web redirect to the another websites or open a new tab: