![]() |
HTML
Tutorials |
|
Learning basic HTML to write a webpage.Here
you will learn to make a basic web page in your notepad or word processor. Different tags call different functions. A full list of html tags and their functions is provided here. Let's
get straight into making your first page. Open up your notepad program
and follow these step to make your first basic page in html. To
begin a webpage you must first tell the browser that it is indeed a html document,
so you begin your webpage with the opening tag of <html>
and end the page by closing the tag. </html> So to begin with, our page looks like this: <html> </html> Hint, You can use capital OR lower case letters within your tags but DO NOT mix capitals with lower case. The Head Directly under the <html> comes the <head> The head is for the browsers use and shows such things as the page title, the designers name, keywords and a detailed description of what can be found on the page. The contents of the head are not visible to visitors. The tags within the head are called "Meta Tags" which if you haven't already heard mention of them, you will certainly hear a lot of as your internet experience grows. *smiles* (If you would like to see this pages Meta Tags, select "view" at the top of your browser and click on "source".) The
easiest way to write your meta tags is to copy and paste an existing set of meta
tags from an established page and change the wording within to suit your needs.
Or another alternative is to go to someone who has a Meta Tag Generator and use
that service. There is one you can freely use here. META TAG GENERATOR <html> <head> <html> The Body Within
the body is where you place all of the things you want your visitors to see. Your
background, text, images and other effects. This begins with the <body>
tag and you usually put in a background, which can be enclosed within the body
tag. This page has a white background. The html will be : (Explanation
of html code) Now we need to put in an opening statement, something like Welcome to My Website. This is done by adding a heading command or what I prefer to use FONT SIZE. In this example we will use the font size 5 and we will center the welcome message.
<p align="center"><font size="5">Welcome to My Webpage</font></p>(Explanation
of html code.) Are
you getting the hang of this? It really is just plain English. Next we will add some text and to begin we need to tell the browser it is the start of a new paragraph and where to place the text. This is the html to do that: <p align="left"> Type in text here, blah blah blah. We are making a webpage.</p> (Explanation
of html code.) Now let's place an image in the center of your page to finish it off. First
we have to have a space between the text and the image. <p align="center"><img src="http://www.hypergurl.com/images/hypermouse.gif" width="100" height=150" border="0" alt ="Hypergurl Webhosting. Unrivalled Support."></p> (Explanation
of html code.) This
is now your first basic html page and you finish off by closing the body tag. Our finished page in html would now look like this: <html> <head> <body
bgcolor="FFFFFF"> </html> Here is what it would look like when viewed. Click Here That
is a very basic page in html.
|
|