+ 2
Hey guys, if I want to upload all my site files on google drive.
I want to link my css file to html file. Can I use my google share link in the href attribute? Or must it be a path directory in my system? Also, what happens if I link it with a path directory and mistakenly I lose all files, which is why I want them uploaded and linked with the share link. I bope you understand.
6 Respostas
+ 3
This tutorial shows how to upload and use Dropbox for media storage. Yes I know you were asking for Google drive solution, but this may work as well.
About the second question, if you have an invalid image link, usually browser display an image placeholder, with a simple message explaining that the image is not available.
https://www.sololearn.com/Discuss/1054246/?ref=app
+ 1
Emeruche Ikenna Cole
A better option than using Google Drive would be a use Dropbox
0
Hi Emeruche Ikenna Cole,
I'm sorry, could you try breaking the question into parts and providing some more context? I'm a bit confused as to what you want us to prioritize answering.
0
Janning⭐ Alright
See. In sololearn css classes, they said external css could be linked with <link rel=stylesheet.css href=file.css> only when it's in same path directory as html file. But what if the css file is in dropbox or google drive, how do I use a weblink as href=""?
I tried pasting my drive link into that but it wouldn't load
0
Oh, ok.
So you probably have the right idea except typically google drive embeds permissions requirements in their file URLs, so that's really a bridge no beginner needs to be crossing.
I would recommend setting up files locally on your desktop or laptop computer for learning/practicing until you have something ready for production (live hosting).
https://code.sololearn.com/W326FKwAKXtN/?ref=app
On another note, if you're having google drive questions, you can also ask on their community forum.
0
iam sorry iknow