Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide

NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

The whole site in one document for easy reference!
The TCP/IP Guide

Custom Search

Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP File and Message Transfer Applications and Protocols (FTP, TFTP, Electronic Mail, USENET, HTTP/WWW, Gopher)
                9  TCP/IP World Wide Web (WWW, "The Web") and the Hypertext Transfer Protocol (HTTP)
                     9  TCP/IP World Wide Web and Hypertext Overview and Concepts

Previous Topic/Section
World Wide Web System Concepts and Components
Previous Page
Pages in Current Topic/Section
Next Page
World Wide Web Addressing: HTTP Uniform Resource Locators (URLs)
Next Topic/Section

World Wide Web Media and the Hypertext Markup Language (HTML)
(Page 2 of 4)

HTML Elements and Tags

In simplest terms, an HTML document is a plain ASCII text file like an e-mail message or other text document. The biggest difference between HTML and regular text, however, is that HTML documents are structured. The document is logically organized into a series of elements that are arranged according to the rules of the language. Each element defines one part of the document as a whole. For example, the title of a document, a paragraph, a table and a hyperlink to another document are all examples of elements.

Each element is described using special text tags that follow a particular syntax. Each tag begins with the “<” symbol, which is then followed by the (case-insensitive) element name, and optionally, additional parameters that describe the element. The tag ends with the “>” symbol. Here's how a tag looks generally:

<element parameter1=“value1” parameter2=“value2”…>

Some elements are entirely described by the presence of a tag, and in such cases that tag is the entire element. More often, tags occur in pairs surrounding the actual content of the element; the start tag begins with the name of the element and the end tag begins with the name of the element preceded by a slash symbol. For example, the title of a document is an element defined as follows:

<title>This Is A Great Story</title>

The content of each element can contain other elements, which causes tags to be nested within each other. For example, if we wanted to highlight the word “Great” in our title by displaying it in bold letters, we can add the “<b>” tag as follows:

<title>This Is A <b>Great</b> Story</title>

Each whole HTML document is in fact defined as a single “element” called “html”; the whole document is enclosed in “<html>” and “</html>” tags. Within this element, the document is divided into two standard sub-elements that must be present in each document: the head and the body. The head of the document contains information that describes the document and how it is to be processed; it most commonly contains the title of the document as described above. The body contains the actual content of the document. These three elements define the basic HTML document structure:

(head elements go here…)
(body elements go here…)

The bulk of the document consists of the body elements that are placed between the “<body>” and “</body>” tags. HTML documents can range from very simple bodies containing only elements such as text paragraphs and perhaps a few links, to very sophisticated documents that are computer-generated and contain hundreds or even thousands of nested tags of various sorts.

Previous Topic/Section
World Wide Web System Concepts and Components
Previous Page
Pages in Current Topic/Section
Next Page
World Wide Web Addressing: HTTP Uniform Resource Locators (URLs)
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $

Home - Table Of Contents - Contact Us

The TCP/IP Guide (
Version 3.0 - Version Date: September 20, 2005

Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.