Monday, December 20, 2010

HTML, which stands for HyperText Markup Language, is the predominant markup 

language for web pages. A markup language is a set of markup tags, and HTML use

markup tags to describe web pages.

 HTML is written in the form of HTML elements consisting of "tags" surrounded by angle 

brackets (like <html>) within the web page content. HTML tags normally come in pairs

like <b> and </b>. The first tag in a pair is the start tag, the second tag is the end tag

(they are also called opening tags and closing tags).

The purpose of a web browser is to read HTML documents and display them as web pages. 

The browser does not display the HTML tags, but uses the tags to interpret the content of the page.http://en.wikipedia.org/wiki/HTML   



















Markup

HTML markup consists of several key components, including elements (and their attributes), character-based data types, character references and entity references. Another important component is the document type declaration, which specifies the Document Type Definition. As of HTML 5, no Document Type Definition will need to be specified and will only determine the layout mode.[41]
The Hello world program, a common computer program employed for comparing programming languages, scripting languages and markup languages is made of 9 lines of code although in HTML newlines are optional:
<!doctype html>
<html>
  <head>
    <title>Hello HTML</title>
  </head>
  <body>
    <p>Hello World!</p>
  </body>
</html>
(The text between <html> and </html> describes the web page, and The text between <body> and </body> is the visible page content.)
This Document Type Declaration is for HTML 5. If the <!doctype html> declaration is not included, Windows Internet Explorer will render using "quirks mode".

    


Filename extension .html, .htm
Internet media type text/html
Type code TEXT
Uniform Type Identifier public.html
Developed by World Wide Web Consortium & WHATWG
Type of format Markup language
Extended from SGML
Extended to XHTML
Standard(s) ISO/IEC 15445
W3C HTML 4.01
W3C HTML 5

No comments:

Post a Comment