Citizendium - a community developing a quality comprehensive compendium of knowledge, online and free. Click here to join and contribute—free
CZ thanks JULY 2014 donors; special to Darren Duncan. AUGUST 2014 donations open; need minimum total $100. Let's exceed that. Donate here. Donating gifts yourself and CZ. -- Thanks to July content contributors. --


From Citizendium, the Citizens' Compendium

(Redirected from Hypertext Markup Language)
Jump to: navigation, search
This article is developing and not approved.
Main Article
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
This editable Main Article is under development and not meant to be cited; by editing it you can help to improve it towards a future approved, citable version. These unapproved articles are subject to a disclaimer.

HyperText Markup Language (HTML) is a set of tags for marking up the content of a web page into distinct sections. Web pages are an network-based implementation of hypertext, or documents that have dynamic links to one another, rather than being in the sequential form of the pages of a book.

As of 2014, newer parts of the internet are using HTML version 5. For use with JavaScript and Ajax, some websites use an older and more restrictive variety of HTML, called XHTML (Extensible HyperText Markup Language), which guarantees a higher conformity with rules so that, among other reasons, XHTML can be manipulated more successfully by JavaScript. Many parts of the web also use an informal mix of the different HTML versions, and web browsers are designed to be able to cope with non-conforming pages.

HTML is a W3C standard used for creating World Wide Web pages. HTML conforms to, and is a subset of, Standard Generalized Markup Language (SGML).

HTML resembles old-fashioned typesetting code, or PostScript printer description language, where a block of text is surrounded by tags that indicate how it should appear. HTML allows text to be linked to another file on the Internet, similar to Vannevar Bush's proposed Memory Extender (Memex).

Tim Berners-Lee created the original HTML (and many associated protocols such as HTTP) on a NeXTcube workstation using the NeXTSTEP development environment. He built HTML from prior work on markup languages and hypertext.



Like most markup languages, HTML uses tags to convey information. A typical HTML document has a head section and a body section. The head section contains meta-information like the page's title (which appears in a browser window's name), author, encoding, and any stylesheets that should be applied to the document. The head section also contains any script code that has to be loaded before the body section loads. The body section contains the information that makes up the contents of the document. Tags such as h1 and h2 designate article headings, the a (anchor) tag marks a hyperlink to another document or to another section of the same document, em and strong tags are used for emphasis, etc.

Most HTML tags require both an opening and closing tag. Closing tags are similar to opening tags except for a forward slash before the tag designation. However, there are some HTML tags that do not require a closing tag

HTML can be typed manually in a notepad and saved with a .html extension. It can be opened and viewed using a browser.

Find below a few examples of html tags

HTML Tag Description
<html> </html>
Indicates beginning and end of HTML document
<head> </head>
Indicates beginning and end of head section of HTML document
<title> </title>
Indicates beginning and end of page title, which is visible in the client browser
<body> </body>
Indicates beginning and end of body of HTML document
<center> </center>
Indicates beginning and end of centered text
<h1> </h1>
Indicates beginning and end of heading 1 paragraph format
<h2> </h2>
Indicates beginning and end of heading 2 paragraph format
<b> </b>
Indicates beginning and end of bold text
<i> </i>
Indicates beginning and end of italicized text
Indicates line break. Example of tag that does not have closing tag
<font> </font>
Used to specify font formatting

Current Version

The HTML standard is maintained by the World Wide Web Consortium (commonly shortened to W3C). The current official version of HTML is 4.01 which was ratified in December 1999. 4.01 is a minor step from 1997's 4.0 standard.

HTML is complemented by Extensible HyperText Markup Language (XHTML), which is a reformulation of HTML using Extensible Markup Language (XML). The current version of XHTML is XHTML 1.1, which was released in 2001. XHTML is widely used on sites intended for use on mobile devices, where browsers are less forgiving than on computers. The W3C has also combined XHTML 1.1 with a variety of other formats including Scalable Vector Graphics (SVG) and RDFa, to allow XHTML users to include elements from these vocabularies - representing vector graphical elements, and Semantic Web metadata respectively.

Future of HTML

The W3C recently reformed the HTML Working Group to work on HTML 5 by formalising the work done by the WHAT WG, an unofficial working group setup by representatives from Google, Apple and Opera Software. HTML 5 is planned to be the next version of HTML, and will be serialised in both the SGML-derived syntax and as XHTML.

The W3C also has a Working Group pursuing XHTML 2, but this has had a cold reception from browser vendors and seems unlikely to play an important part in the future of the Web.

See also


An example of a simple HTML Page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
<html xmlns="">
		<title>Example Page</title>
		<h1>This is a headline</h1>
		<p>This text is part of a paragraph.</p>

External links

Tutorials and guides

HTML Markup Validators

Other specifications

  • Web Applications 1.0 A specification generally referred to as "HTML 5". The Web Hypertext Application Technology working group are an independent initiative who cooperate with the W3C.
Personal tools