XAMPP is providing easy interface to execute various task easily. One of them is creating project folder(Directory). Lots of new learners are unable to figure out how to create project folder in xampp.
Creating project folder in xampp is slightly different in windows and Mac os x.
If you are not aware of how to start xampp, then read following article:
How to start xampp in windows and mac os x?
Then click on Explore.
I have created a project root directory ‘demo’ inside htdocs directory (Folder). At this point, my project root directory is empty. You can set any name for your project directory inside htdocs directory but the condition is no space and special characters are allowed in the name.
If your xampp server is not running, then start it.
<title>This is a sample webpage</title>
<meta name=”content” description=”this is a sample webpage for practice purpose.”/>
This is a sample webpage. This webpage is for practice purpose. I have successfully developed the webpage.
Open Any browser and visit following link.
When a user visits a website, by default browser looks for index file in the root project folder to load. Index file is the root file which loads into the clients browser. Thats why, when you create a root file for your project you have to name it as index file with its respective extension. Here in this example, we have created html file. Thats why, we have saved the root file as index.html
If you are new to html and want to learn more, then visit following link