How To Link A HTML Page To Another With Buttons?

Use an anchor tag styled as a button:

`Go to Page 2`

Add CSS to make the link look like a button:

`.button { display: inline-block; padding: 10px 20px; background: blue; color: white; text-decoration: none; border-radius: 5px; }`

Use a button with JavaScript:

``

Link to another page in the same folder:

`About`

Link to a page in a different folder:

`Contact`

Link to an external website:

`Visit Site`

Open the link in a new tab:

`Open Page 2`

Suggested for You

Trending Today