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 ??

10th Feb 2017, 11:41 PM
Nitesh Singh
Nitesh Singh - avatar
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 👍
13th Feb 2017, 10:45 AM
Hardik Raut
Hardik Raut - avatar
+ 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..
12th Feb 2017, 2:54 AM
Hardik Raut
Hardik Raut - avatar
+ 6
Search for free Webhosting on Google
10th Feb 2017, 11:48 PM
Mario L.
Mario L. - avatar
+ 4
.hol es domain and free hosting and you can setup localhost
11th Feb 2017, 12:05 AM
Samet Aydın
Samet Aydın - avatar
+ 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.
12th Feb 2017, 3:21 AM
abhijit kushwaha
abhijit kushwaha - avatar
+ 1
start by html
12th Feb 2017, 10:59 AM
Akshdeep Sandhu
Akshdeep Sandhu - avatar
+ 1
Learn HTML5, CSS3 and JavaScript or PHP
12th Feb 2017, 5:26 PM
Avi
Avi - avatar
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
11th Feb 2017, 11:41 PM
Nitesh Singh
Nitesh Singh - avatar