Saturday, November 2, 2013

Tute 2 : Create Website Using Php, Mysql, Html and Css : Create Bais Html File

Previous Tutorial : Installing Software


Every website first create in static website. Then it make dynamic site. So first we make a static website. So we create a basic html file.Open the notepad++ software. Take a new document. Then write basic html code.


-------------------------------------------------------------------------------------
<html>
            <head>
                        <title>Welcome to my tute school</title>
</head>
            <body>
                        <h1>Assalamu Alaikum Everybody.</h1>
</body>
</html>
-------------------------------------------------------------------------------------

Basic Html File in Notepad++

Now we save this page. Click File>Save or Ctrl+S.

We save this file in localhost server. Go to xampp folder (where install the xampp software). Then go to htdocs folder. Crate a new folder into htdocs and write a name this new folder. I take the name "tute".

Then we write file name . In file name field write “index.php”. As we work about php language so wire file name extension is php.

Now we open the index.php file. Open a browser. I use Google crome. Because it is user friendly and web developer friendly. Then write in address bar “localhost\index.php” and press enter key.


Our Home page in Google Chrome

We see our work!


Next Tutorial : Create a Css File


No comments :

Post a Comment