How to Host webpages(html),css,js on Google Drive

Post your How to's here


How to Host webpages(html),css,js on Google Drive

Postby tanmay.01 » Fri Jul 12, 2013 6:14 am

1. Create a new folder in Drive and share it as "Public on the web."
2. Upload your HTML, JS & CSS files to this folder.
3. Open the HTML file & you will see "Preview" button in the toolbar.

Note : As you write your site's HTML, you can use relative paths for your images, CSS stylesheet, and JavaScript (if any).


preview.png


4. Share the URL that looks like http://www.googledrive.com/host/... from the preview window and anyone can view your web page.

preview_window.png


5. Here's my Example

Note: You can use free domains and forward them here. => http://gdriv.es/uetest/index.html
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux

Return to How To's (Do not post questions please)

Who is online

Users browsing this forum: No registered users and 0 guests

cron