|
HTML for Complete Beginners
|
By M Moyne
[Hits: 22854]
|
|
HTML stands for Hyper Text Markup Language and is the computerlanguage that most of the Internet is written in.
HTML is made up of tags and sets of tags, a set being two tagsthat are linked: a start tag and an end tag. HTML is a bit likea person, the head comes first, then the body.
As I've just mentioned the very first main tag of every singleHTML document is usually the HTML tag, which is a start tag andis written as . Accompanying it will be the very last tagof the document, the end tag, . Notice the / this meansit is an end tag. Every start tag must have an end tag. Starttags begin a section of code and end tags finish it. I say thevery first "main" tag as there can be a tag before it, theDOCTYPE tag. This tag gives the browser information about whattype of HTML is being used.
The head section begins with the tag and ends with the tag. It has information about the page itself andconsists of the page title, the meta tags (more on those in aminute), and the code for any page transitions you may have.
The page title is self-explanatory and is written as Your page title
The meta tags, particularly the
There is also a meta description tag which used to tell thesearch engines how to describe the website on their resultspages, now I've seen them use the first few lines of text fortheir description.
The next of the main tags is the body tag, which is written as and respectively. It contains the main part ofyour HTML code. On my personal homepage it starts off with thecode for the background. In this case it is a JPEG image. Youcan put almost anything in the body section, navigation bars,page banners, tables, images, horizontal lines, hyperlinks andso on. However all of the things that I have just mentionedcannot go anywhere else except the body section.
Let's look at the code for some simple things.
Headings: Heading 1 is Heading 2 is Heading 3 is and so on.
Paragraphs begin with
and end with
A 100 * 200 image with a description is: 
That's enough for a simple web page.
|
|
|
|