1 Minute HTML CSS Part 1 – Getting Started

1) CODE EDITOR

 

2) LOCAL HTTP SERVER

  • Not really required, can open HTML files directly in browsers.
  • But better to start early, setup your own local HTTP server for testing.
  • An easy way is to download and install XAMPP.
  • Optional –
    • XAMPP control panel > Config (for Apache) > httpd.conf
    • Search for DocumentRoot > Change both DocumentRoot "PATH/SOMEWHERE" and <Directory "PATH/SOMEWHERE"> to another folder of your choice.

 

3) YOUR FIRST WEBPAGE

  • Create index.html in your DocumentRoot.
  • Add one line – <h1>Hello World</h1>
  • XAMPP control panel > Start Apache.
  • Access http://localhost

Leave a Comment

Your email address will not be published. Required fields are marked *