next

HTML Structure

    <html>
    <head>
    <title>A Title Name</title>
    </head>
    <body>
    ...your page...
    </body>
    </html>


1.  HTML tags are the things inside brackets (< >) that indicate features or elements of the page.

2.  Most HTML tags look something like this:
<TheTagName> Text </TheTagName>

3.  <html>...</html> indicates that the content of this file is in the HTML language.

4.  The content of your HTML page is enclosed within a <body>...</body> tag.


Example
open up your text editor, and copy the following code.
<html>
<head>
<title> My HTML Documents </title><head>
<body>
<h1> Hello World ! </h1>
</body>
</html>
After you paste it, save as 'index.html'. The file name should have an extension of .html. (.htm on DOS or windows system that have only three-character extensions)


Output
copy to Notepad



Save as 'index.html'



result




Back to HTML tutor homepage | Next | Email me