Tuesday, 10 December 2013

How To Upload and Host HTML, CSS and Javascript Files


For those who want to share or host the HTML, CSS or Javascript to use in blog, widget, etc. Follow this simple trick (step by step with picture) using Google Drive (because it's free!)

1. Go to Google Drive and sign in using Google Account.









2. Upload your files (example : HTML, CSS or JS.) to the drive. Then, click on Share.

3. Click on Change and click on Public on the web, save.

4. Now, open the link in new tab.


Please READ carefully
5. After you open the link, COPY THE ID of the item. (example : 0Byc6OZ6ZvA6NZXl1eU9PWk9oQUE)

6. Now, change the URL and paste the ID you've copied : googledrive.com/host/PASTE-ID-HERE
You're done!
Tips :-
a) The link is permanent (unless you delete the item, move the item)
b) Save the link in notepad or another places because the link is not saved in your Google Drive.
c) If you don't want to save the link, make sure you know how to copy ID and use googledrive.com/host/
d) To use the link in widget or etc, use <script src="Link-Here" type="text/javascript"></script>

Watch Video

No comments:

Post a Comment