HTML is
the programing language used to create web pages. The way
it works is that "web browsers" such as Internet
Explorer and Netscape read a text file of HTML code that tells
the browser what to display. i.e. text, pictures, links to
other sites also known as hyper-links and more.
Every
web page must have this skeleton code:
|
<html>
<head>
<title>Title Of Your Web
Page Goes Here</title>
</head>
<body bgcolor = "white" text = "black">
Web page contents and other
HTML code goes here
between the body tags.
</body>
</html>
|
Please don't
be discouraged if this scares you. I'll explain what this stuff
means below.
<
> - TAGS
[Back To The Top]
The captions of text with the < > symbols around them
are called tags. They are HTML commands which tell the web
browser information. Each tag has a ending tag, the end tag
has a " / " after the greater than symbol ie, <title>
text here </title>
<HTML>
[Back To The Top]
The <html> tag tells the browser that the following
text contains HTML code, it must be the fist thing in any
html document and </html> must be the last thing.
<Head>
[Back To The Top]
The <head> and </head> tags enclose the <title>
and </title> tags. They must come after the <html>
tag.
<Title>
[Back To The Top]
The <title> tag holds the title of the page, If
you look up at the top left of this browser window you'll
see that the title of this page is "321 Webmasters -
HTML Tutorials". Whatever you place between the <title>
tags will show up in the same place for your web page.
<Body>
[Back To The Top]
The <body> tag tells the browser to what color background
the web page should have and what color the text should be.
It can hold more information but at this point in time these
two things are sufficient. As you can see this body tag has
the background color set to white and the default text color
set to black.
Save
Your HTML File
[Back To The Top]
copy and paste the code written above or type it in yourself
into a text editor program such as "note pad" go
to save as and name your file index.html. Do not forget to
add the .html to the end of your file name.
