Previous page we have created our basic “index.php”


Lets go little deeper and understand what each line says.


  1. <!DOCTYPE html> – Declaration of HTML document file. HTML file usually all starts with this declaration at the beginning.
  2. <html> </html> – Where all your HTML other elements are being written within this to be display on your favorite web browser.
  3. <h1> </h1> – Headings elements, just like every books there is a heading title to stand out from the main “text”. Largest to Smallest <h1> to <h6>
  4. <body> </body> – As usual all visible part of the content are being placed within it. 

Tip: usually all element comes in pair with an opening and closing tag. Always remember open and close the element once its written to prevent any malfunction.