How to use URL | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use URL

How do I use an URL or create a link? Example: url=(google.com)

4th Mar 2017, 11:32 PM
Felipe Cardozo
Felipe Cardozo - avatar
3 Answers
+ 6
Your question isn't accurate enough :( I don't think you can "print() a clickable link" in CLI mode ( Command Line Interpreter: text mode contrarly to GUI Graphic User Interface )... Probably with some GUI library, but there's a lot, so you must specify your context :P ( however, not sure that someone know it ^^ )
6th Mar 2017, 7:35 AM
visph
visph - avatar
0
In HTML, you use the anchor tag with a href value of your site of choice. <a href="www.sololearn.com"> Clickable text </a> In CSS you assign a link using the following line: url('www.sololearn.com') For example: div { background-image: url('photo.jpg'); }
4th Mar 2017, 11:42 PM
WWXXYY XXXWWYY
WWXXYY XXXWWYY - avatar
0
Thanks, but I want to print() a clickable link after the code ran
4th Mar 2017, 11:47 PM
Felipe Cardozo
Felipe Cardozo - avatar