I want to go to the website just by clicking the .html extension file. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

I want to go to the website just by clicking the .html extension file.

I want to make a html file with .html extention but how to code which redirects me to a website suppose sololearn.com

18th Jun 2019, 4:37 AM
Jelena🇷🇺
Jelena🇷🇺 - avatar
13 Answers
+ 8
You can redirect to the website through JavaScript function also. Just write a function and call on body onload. It will redirect to the website when you will open this html page.
18th Jun 2019, 5:43 PM
A͢J
A͢J - avatar
18th Jun 2019, 5:58 PM
A͢J
A͢J - avatar
+ 4
Look at Sololearn’s HTML tutorial, it has all the information you need
18th Jun 2019, 4:44 AM
Nathan Lewis
Nathan Lewis - avatar
+ 4
Chris C. I have the fundamentals experience.
18th Jun 2019, 5:05 AM
Jelena🇷🇺
Jelena🇷🇺 - avatar
+ 3
Nathan Lewis it is better to link the lesson.
18th Jun 2019, 4:45 AM
Jelena🇷🇺
Jelena🇷🇺 - avatar
+ 3
Browse the list of courses for HTML Fundamentals If you are using a web browser click the link below https://www.sololearn.com/Course/HTML/
18th Jun 2019, 4:58 AM
Chris Coder
Chris Coder - avatar
+ 2
Just click Learn, all your language tutorials are right there
18th Jun 2019, 4:46 AM
Nathan Lewis
Nathan Lewis - avatar
+ 2
Nathan Lewis I already have the learning option but I want to do it on urgent basis.
18th Jun 2019, 4:48 AM
Jelena🇷🇺
Jelena🇷🇺 - avatar
+ 2
18th Jun 2019, 4:52 AM
Nathan Lewis
Nathan Lewis - avatar
+ 2
Nathan Lewis but it takes me to a page first, I want to go to the website just by clicking the extension file.
18th Jun 2019, 4:54 AM
Jelena🇷🇺
Jelena🇷🇺 - avatar
+ 2
AJ (AY) can you do it for me?
18th Jun 2019, 5:45 PM
Jelena🇷🇺
Jelena🇷🇺 - avatar
+ 2
Thank you very much AJ (AY) , you solved my problem.!
18th Jun 2019, 6:29 PM
Jelena🇷🇺
Jelena🇷🇺 - avatar
0
Use anchor tag with with href !☺️
19th Jun 2019, 3:45 AM
Sanjay Kamath
Sanjay Kamath - avatar