header
 
     
 
pixel
pixel pixel

Introduction to HTML

HTML (HyperText Markup Language) is the language World Wide Web hypertext documents are written in. It features hypertext links where you click on a string of highlighted text and access a new document which can be at that site or anywhere else in the world. The new document is located by its URL (Universal Resource Locator) and can be another HTML document, pictures, sound files, etc. HTML is designed to be platform independent, not bound to a particular hardware or software environment.

HTML programs are written as plain, ASCII text files. This means they can be written in any text editor such as Write or Notepad. Personally, I use Dreamweaver but am regularly switching to code mode to edit the HTML directly anyway. I'm not a big fan of most HTML editors - without naming any names <cough>Frontpage</cough> they add all this needlessly complex HTML to your pages and I seem to spend more time cleaning unwanted code.

In the old days (eg - a year or two ago), the emphasis of HTML was on the structure of the text, leaving the appearance of your document up to the browser. With each new version of HTML, the web designer seems to have more control over the look of their webpages.

Elements and Tags

A HTML document is made up of elements. A typical element takes the form:
<h1> This is a Heading 1 Element </h1>
The bits at the beginning and end of the element, <h1> and </h1>, are called tags and usually enclose some text. The text within the < > denotes what kind of element you want. The <h1> indicates the start of the element, the </h1> with the forward slash marks the end. Of course, not all elements have a starting and ending tag. Elements that don't require an end tag are called empty or open elements (ie - <BR> forces a line break and doesn't enclose any text).

Some elements include attributes within the tag. An attribute is a variable that is assigned a value such as a filename, a number or whatever. Here's an example of an IMG tag with the attribute SRC in it:
<IMG SRC="filename.gif"> 
The IMG tag displays a graphic in your web page. The attribute SRC is the source of your image. filename.gif is the name of your graphic file. There'll be more on attributes and the IMG tag later.

Structure of a HTML document

Your whole HTML document is one big HTML element. In other words, it starts with a <html> tag and ends with a </html> tag.

Within the HTML element, your document is divided into two sections: the <head> and <body> elements. The <head> element contains descriptive information about the document. For example, the <title> element is found here. Generally, the <head> element is used for describing the document, not for displaying information (the exception - whatever text you have between your <title> </title> tags is displayed at the top of the browser). The real guts of your document is found within the <body> element. Here you display all your text, graphics, links and so on.

HTML documents have a logical structure. Elements are nested within each other adhering to certain rules and cannot overlap in an unstructured fashion. Here is an example of the overall structure of an HTML document:
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
        Info displayed in browser.
    </body>
</html>
And there is a basic overview of HTML. The other elements you can use within your Head and Body Elements will be covered in other tutorials.

Unhelpful Helpful Rating 1.5 (score out of 5, no. of ratings: 38)
Comments
Comment by B-Beach on 2004-12-14
need more information for new kid on the block

Comment by E. HOSTE on 2007-02-09
At last I have SOME idea what it is about & look forward to more. Thanks for making it free.

Comment by Willem Broekers on 2007-07-25
Finally I am getting to know what it is I\\\'m trying to do! Thanks for making it free. Looking forward to more info.

Comment by mbtshoesmasai on 2010-07-29

You select MBT Shoes to wear without reason because of its large charm. The health care of MBT Footwear is its advantage. MBT Shoes Clearance with soft and smooth surface is popular exercising shoes in daily life. Discount MBT Shoes can exercise your muscle to make you become the focal point in your office or other business occasions. MBT Shoes Cheap are made of high quality Nappa leather with a lasting effect. The natural unstability of MBT Masai Shoes compels the torso to keep body balance and stimulates small muscles around spine joint for a protection. As a fitness equipment, called Medical Shoes, MBT Outlet can effectively exercise small muscles around joints, strengthen muscles strength, and burn more fat. your cheerful experience and exercise benefits when you are walking with MBT Sandals can effectively treat obesity. At the same time, MBT Womens Shoes heel with 5 centimeters height can make you look taller. Wearing MBT Walking Shoes can reduce the pressure on knee and hip joints. Now MBT pushes out all kinds of shoes such as MBT Lami, MBT Changa, MBT Kaya and so on.
Welcome to our website: http://www.mbtshoesmasai.com

Comment by Coach Handbags on 2010-07-30

In recent years, Coach handbags has indeed built up quite a reputation and enjoys increasing popularity with consumers. With its popularity, Coach Bags become the most preferred brand throughout the world. Gucci Handbags are the obvious choice for many fashion conscious business women and those with a preference for timeless oakley sunglasses classic styles and they wear so well and go with nearly everything in your closet.This bag is really worth owning.Coach Wallets was on the Chinese market for nearly 50 years. You can even see older people carry a coach starting line handbag. Cheap Coach Purses Coach Bags are excellent for high quality and low price. These bags are more and more what people want.As Coach Outlet you smart crocodile, Caiman fuscus Coach Crossbody Bags crocodile clutch his last, which has five versions to choose from: orange,Chanel Handbags brown, gold, black, dark silver to make. Coach Op Art Bags The five drawings of the Viper clutch are per kart.

You will get more results out of your workouts - MBT have technology in the sole design that make your working more efficient and burn more calories. mbt outlet With every step, the instability activates Cheap MBT Shoes your muscles and the whole body is stimulated as your walk more and more.mbt shoes outlet have a curved pivot sole that copies walking on soft moss. The sole turns even, flat ground into uneven terrain. The discount mbt shoes challenges the muscles to work harder with every step you take. The unique curved sole works by providing instability and makes the muscles of your body more engaged and also helps burn more calories.MBT Sandals MBT VOI Shoes

MBT Salama Sandal

MBT Habari Sandal

MBT Fumba Sandals

Post a Comment
Name
Email
(optional)
Comment
RatingUnhelpful Helpful
Security Image* (this is just to prevent spam submissions)
Security Image