thanks!
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
How can I use my HTML knowledge?
Started by LuaEclipser, 28 March 2013 - 04:05 PMPosted 28 March 2013 - 05:05 PM
i recently learned a lot of HTML. and i wonder "how do i use it?" i understand there are other places like webs, and weebly to do non-coding, but i want to practice!
thanks!
thanks!
Posted 28 March 2013 - 05:30 PM
there are lots of free webhosts you could use to host your web content.
Also most website use php and css
Also most website use php and css
Posted 28 March 2013 - 05:36 PM
i know css, but not PHPthere are lots of free webhosts you could use to host your web content.
Also most website use php and css
can you name one that will let me just type away, no templates or anything?
Posted 28 March 2013 - 05:38 PM
http://www.000webhost.com
they give you a default php which does some stuff. but after that, just make the html in Sublime Text 2 then upload it to the website via FTP. thats what I do for my website (link in sig) … I actually use the SFTP plugin for ST2 which makes it even easier to make the changes I've made live!
they give you a default php which does some stuff. but after that, just make the html in Sublime Text 2 then upload it to the website via FTP. thats what I do for my website (link in sig) … I actually use the SFTP plugin for ST2 which makes it even easier to make the changes I've made live!
Posted 28 March 2013 - 05:42 PM
i recently learned a lot of HTML. and i wonder "how do i use it?" i understand there are other places like webs, and weebly to do non-coding, but i want to practice!
thanks!
Well, if I were you I'd use HTML to make a website. (Lol)
As mentioned above, http://www.000webhost.com/ has free web hosting. Or you could download XAMPP and host the pages on your local machine.
Posted 28 March 2013 - 05:43 PM
but where would i put the code?
Posted 28 March 2013 - 05:49 PM
but where would i put the code?
For 000webhost: they have FTP instructions on the site.
For XAMPP: Launch the control panel, go to explorer-apache-(whichever folder has an index.html file)
Posted 28 March 2013 - 05:55 PM
ok cool!
Posted 28 March 2013 - 05:59 PM
If you are going to use ST2 and the SFTP plugin, follow the instructions supplied by SFTP to setup the package. the only thing you have to remember is where they give you "remote_path" you have to set it to "/public_html/" or 000webhost won't be happy :P/> and your site wont load because you have uploaded to the wrong spot.but where would i put the code?
Posted 28 March 2013 - 08:46 PM
Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.
It's currently in public beta, but you can request an invite to join.
It's currently in public beta, but you can request an invite to join.
Posted 28 March 2013 - 09:13 PM
HTML doesn't need a free webhoster if you don't want the website to be published.
Just save the file as name.html on your computer and open it. CSS and HTML coding will work, but not PHP (you could also use xampp for php)
Just save the file as name.html on your computer and open it. CSS and HTML coding will work, but not PHP (you could also use xampp for php)
Posted 28 March 2013 - 09:15 PM
Nice! does SSI work?Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.
It's currently in public beta, but you can request an invite to join.
Posted 28 March 2013 - 09:26 PM
Does is have support for MySql or custom .htaccess?Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.
It's currently in public beta, but you can request an invite to join.
Posted 28 March 2013 - 10:17 PM
Does is have support for MySql or custom .htaccess?Personally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.
It's currently in public beta, but you can request an invite to join.
Yep! Only MySQL though. I think it's unlimited databases, but not sure…
Posted 28 March 2013 - 10:17 PM
Now answer my one! :P/>Yep! Only MySQL though.
Posted 28 March 2013 - 10:18 PM
Now answer my one! :P/>Yep! Only MySQL though.
Not sure, why not sign up and find out? :P/>
Posted 28 March 2013 - 10:30 PM
I did. but gotta wait for access. :(/>Not sure, why not sign up and find out? :P/>
you could test really quick with:
Spoiler
shtml file >>>> test.shtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
<!--#include file="someFile.ssi" -->
</body>
</html>
SSI file >>>> someFile.ssi
<h1>This is a heading</h1>
Posted 29 March 2013 - 12:29 AM
I did. but gotta wait for access. :(/>Not sure, why not sign up and find out? :P/>
you could test really quick with:Spoiler
shtml file >>>> test.shtml<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> </head> <body> <!--#include file="someFile.ssi" --> </body> </html>
SSI file >>>> someFile.ssi<h1>This is a heading</h1>
Why not just use PHP to do this if you're using it anyway?
<?php
include('someFile.php')
// OR
require('someFile.php')
?>
Posted 29 March 2013 - 12:35 AM
Because believe it or not I do not know any PHP. and I'm not actually using it. take a look at the site Grav made me. no php.Why not just use PHP to do this if you're using it anyway?<?php include('someFile.php') // OR require('someFile.php') ?>
Posted 29 March 2013 - 02:53 AM
Thanks! I hope they accept that invite, azhftech.koding.com, here I come XDPersonally, for testing all the PHP stuffs I make, I just host a simple XAMPP server locally, but for releasing it, I'm going to start using the free website that comes with an account on http://koding.com. Koding is an online IDE that supports basically everything, and gives you a free website (mine currently has not much on it). They give you pretty cool domain names too. Mines http://gravityscore.koding.com.
It's currently in public beta, but you can request an invite to join.
Posted 29 March 2013 - 03:08 AM
Erm, just to tell you guys. I got the invite first then invited gravs. It took about a month before I got accepted… Just a heads up.
Posted 29 March 2013 - 03:14 AM
Dang. How do you invite pplz, by email?
EDIT: Also yes, I am in development of a mod :DDDDD However it will just be a random mod :P/>
EDIT: Also yes, I am in development of a mod :DDDDD However it will just be a random mod :P/>
Posted 29 March 2013 - 03:14 AM
At least its free :P/>Erm, just to tell you guys. I got the invite first then invited gravs. It took about a month before I got accepted… Just a heads up.
Posted 29 March 2013 - 03:46 AM
Can't complain when it's free.
Posted 29 March 2013 - 03:48 AM
Create a html reader in luia that return a table with the elements so a gui api can draw them ex:
{"create button x y colors, text", "Print text x y color text}
{"create button x y colors, text", "Print text x y color text}
Posted 29 March 2013 - 04:45 AM
Erm, just to tell you guys. I got the invite first then invited gravs. It took about a month before I got accepted… Just a heads up.
Oh, damn.
Was expecting to only take like a day or so :P/>
Posted 29 March 2013 - 05:27 AM
Each person can invite 3 people. I got invited by Dusty.
Edit: Why did you learn HTML if you didn't know what you would do with it?
Edit: Why did you learn HTML if you didn't know what you would do with it?
Posted 29 March 2013 - 05:45 AM
i didnt know where to put it :P/>Each person can invite 3 people. I got invited by Dusty.
Edit: Why did you learn HTML if you didn't know what you would do with it?
Posted 29 March 2013 - 05:48 AM
is there anyone registered on koding.com. that can invite me? i would really appreciate it!
1 cookie to anyone who can invite me :P/>/>
1 cookie to anyone who can invite me :P/>/>
Posted 29 March 2013 - 06:14 AM
I highly doubt somebody will just give out a invite for a virtual cookie.
Posted 29 March 2013 - 06:50 AM
how about a cookie with sunglasses?
Posted 29 March 2013 - 07:08 AM
Merged topics, since they deal with the same thing, essentially.
Posted 30 March 2013 - 04:20 AM
I have created one now creating a gui that can render it…..Create a html reader in luia that return a table with the elements so a gui api can draw them ex:
{"create button x y colors, text", "Print text x y color text}