How to link srs,href to html program in sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to link srs,href to html program in sololearn

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <a href="code.html">click</a> </body> </html>

23rd Dec 2017, 3:26 PM
Gudla Swathi
Gudla Swathi - avatar
6 Answers
+ 7
are you asking a question or answering ?? if you are asking then : <a href = "something.com"></a> Is used to send a user to different page or website . <link href = "something.css"></link> is used to link external style sheets in a specific page. Like linking to CSS awesome font , bootstrap classes etc.. <script src = "something.js" ></script> is used to link external java script files or frameworks like angular js, three .js , jquery , etc.
23rd Dec 2017, 3:55 PM
RZK 022
RZK 022 - avatar
+ 6
wait , you can't link to .html pages
23rd Dec 2017, 5:20 PM
RZK 022
RZK 022 - avatar
+ 5
what tag are you using
23rd Dec 2017, 5:20 PM
RZK 022
RZK 022 - avatar
+ 4
you can link to .com , .in , .to etc.. pages See we link one page to another with this code : https://code.sololearn.com/W3CyHmDvZJXA/?ref=app See lines 117 86 and 166
24th Dec 2017, 6:53 AM
RZK 022
RZK 022 - avatar
+ 3
while practising with src ,href attributes the ouput is not coming in sololearn
23rd Dec 2017, 4:06 PM
Gudla Swathi
Gudla Swathi - avatar
+ 2
then how we practice this
24th Dec 2017, 6:07 AM
Gudla Swathi
Gudla Swathi - avatar