+ 2

How do i know what to put after the <a href> in other to get to another webpage.Do i create the link, if yes how do i create it.

17th Dec 2020, 9:54 AM
mofe_sanya
mofe_sanya - avatar
4 Answers
17th Dec 2020, 9:58 AM
Š˜Š²Š°Š½ Š§ŠøŠŗyŠ½Š¾Š²
Š˜Š²Š°Š½ Š§ŠøŠŗyŠ½Š¾Š² - avatar
+ 1
Tioluwanimofe Adesanya First clarify You need like create a link or want your webpage to me redirected to some other page as soon as the page loads.
17th Dec 2020, 11:02 AM
Krish
Krish - avatar
+ 1
If the point is second one then you need to write window.location.href = "https://example.com";
17th Dec 2020, 11:04 AM
Krish
Krish - avatar
0
Tioluwanimofe Adesanya If you are using <a href then you are creating a link. You just need to pass the path in href attribute.
17th Dec 2020, 10:26 AM
AĶ¢J
AĶ¢J - avatar