Creating Your First HTML Page

You need to have a Membership to purchase this product.
Register Now!

0

Learn How To Create The First Page Of Your Site

Categories: , , Tag:

Description

The HTML File

HTML files are text files, so you can use any text editor to create your first web page.
There are some very nice HTML editors available; you can choose the one that works for you. For now let’s write our examples in Notepad.

The HTML File

Add the basic HTML structure to the text editor with “I am Learning HTML at charlesweb.com.ng” in the body section.

<html>
<head>
</head>
<body>
I am Learning HTML at charlesweb.com.ng
</body>
</html>
In our example, we used myfile.html. When the file is opened, the following result is displayed in the web browser:
FINAL RESULT;
Don’t forget to save the file. HTML file names should end in either .html or .htm

The <title> Tag

To place a title on the tab describing the web page, add a <title> element to your head section:

<html>
<head>
<title>
This Is The Title </title>
</head>
<body>
I am Learning HTML at charlesweb.com.ng
</body>
</html>
The Result;
The title element is important because it describes the page and is used by search engines.

Leave a Comment

avatar