Why my page goes blank when I click on link on my webpage | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why my page goes blank when I click on link on my webpage

I gave a href=www.facebook.com in the anchor tag and when I clicked a link on the page it got blank

22nd Nov 2021, 2:39 PM
Anshita
8 Answers
+ 4
Add your code here so we check easily
22nd Nov 2021, 3:00 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
Attach your code for better answers.
22nd Nov 2021, 3:42 PM
JOKER
JOKER - avatar
+ 3
You forgot the https:// bro!
23rd Nov 2021, 3:49 AM
NEZ
NEZ - avatar
+ 3
Oh yes I tried that too, without the "https://" part, Sololearn's not gonna redirect you to the site.
24th Nov 2021, 10:33 AM
NoBody
NoBody - avatar
+ 2
If your href is <a href=www.facebook.com>some text</a> You missed quotes and https:// or http:// It is href="https://www.facebook.com"
22nd Nov 2021, 3:08 PM
PanicS
PanicS - avatar
+ 1
Thankyou..I got it now @PanicS @NEZ
1st Feb 2022, 4:34 PM
Anshita
0
I'm with anonymous on this one
22nd Nov 2021, 7:07 PM
Jackson Jameson
Jackson Jameson - avatar
0
Anshita 👍
1st Feb 2022, 4:54 PM
NEZ
NEZ - avatar