0
How do we can code our own website?
I want to know that how can I code a website in simple ways and publish it easily ??
9 Answers
+ 9
Okey , as you are learning PHP, html & css first install any PHP server on your computer for eg. "XAMPP" , "WAMP" , "Littpad" etc.
in case of XAMPP you are required to go to location where you have installed it then its htdocs directory..
create a folder with any name say "firstpage" and inside that folder create new file named "index.php"
in that file write following code
<?php
echo 'Hello World ! , This is my first PHP code ';
?>
save your file and go to xampp controller and start php server.
now you can open your web browser and type address localhost/folder_name in aur case localhost/firstpage, now you will see the words you wrote in echo statement .
you can also write html tags in "index.php" file also inside echo statement.
instead of writing to only "index.php" files you can create multiple files with diffrent name and with ".php" extension and access them by localhost/firstpage/filename.php
later you can upload this site to cloud and host it..good luck đ
+ 8
try webs.com provides free website hosting on thair server , or you can try google sites to create and host your simple static website.
ask if you need more information..
+ 6
Search for free Webhosting on Google
+ 4
.hol es domain and free hosting and you can setup localhost
+ 2
hostinger.com is a website that
provide free hosting along with the free subdomin.
for coding
you should use notepad++
you can write your code in simple html
using css.
and by uploading it on server you can publish it.
also there are lots ot templates available on internet so if you want then you can edit and you can use it which is very simple.
+ 1
start by html
+ 1
Learn HTML5, CSS3 and JavaScript or PHP
0
thanks guys for ur response..but I need to know from where to start..my step...i need some more relevant answers.plz.. help