Those lines specify the
beginning of the HTML output of your website. This PHP code - <jdoc:include type="head" /> will include in your page the Joomla header content (the page title, meta description, keywords, etc.) that you have added in the administrative end of your application.
Next, we have to add the "body" part of your website:
<body>
<jdoc:include type="component" />
</body>
</html>
The <jdoc:include type="component" /> line will display the main content of any given page.
Now, it is time to check our template. Save the index.php file and
login to the Administrative end of your Joomla application. From it, make the new "tutorial_template" template default for your website. For more information on how to do that you can refer to our tutorial on how to change the default template of Joomla 1.5.