How to make buttons in html and link them to anouther page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make buttons in html and link them to anouther page

Plse tell me how to link buttons to anouther page

10th Jul 2020, 2:29 PM
Amogh Desai
Amogh Desai - avatar
12 Answers
+ 4
<button onclick="window.open('https://www.example.com')">Click Me</button>
10th Jul 2020, 2:36 PM
Arnesh
Arnesh - avatar
+ 1
Thanks
10th Jul 2020, 2:37 PM
Amogh Desai
Amogh Desai - avatar
+ 1
Welcome :)
10th Jul 2020, 2:38 PM
Arnesh
Arnesh - avatar
+ 1
Can you tell me I am,creating a link and I wnt a continue button did I nedd to create anouther link
10th Jul 2020, 2:42 PM
Amogh Desai
Amogh Desai - avatar
+ 1
Means? Can you please elaborate?
10th Jul 2020, 2:45 PM
Arnesh
Arnesh - avatar
+ 1
Means I want to create a continue button in html that will open a new page did I need to create link for the new page that it willl open
10th Jul 2020, 2:46 PM
Amogh Desai
Amogh Desai - avatar
+ 1
<button onclick="window.open('yourNewPageLink')">Continue</button>
10th Jul 2020, 2:48 PM
Arnesh
Arnesh - avatar
+ 1
:)
10th Jul 2020, 2:50 PM
Arnesh
Arnesh - avatar
+ 1
<a href="example.com"><button>Click me</buttton></a>
10th Jul 2020, 4:10 PM
Sali65
Sali65 - avatar
0
Ok finnaly I understand it
10th Jul 2020, 2:49 PM
Amogh Desai
Amogh Desai - avatar
0
Tanks dude
10th Jul 2020, 2:56 PM
Amogh Desai
Amogh Desai - avatar