Introduction to Basic HTML

The World Wide Web is a network of information resources. To publish information for global distribution through this network, one needs a universally understood language, a kind of publishing mother tongue that all computers may potentially understood. The publishing language used by the World Wide Web is HTML. Hyper Text Mark-up Language.

When a web browser displayed a page, it reads from a plain text file, and looks for special codes or "tags" that are marked by the < and > signs. The general format for a HTML tag is <tag name>test for text</tag name> for example,
The title for this section uses a bold tag:
<b> what is the HTML</b>
This is tells a web browser to displayed the text " what is the HTML in bold (OK we will learn about these tag later)

HTML tag may tell a web browser to italicize the text, underline it, make it into a header, or make it a hypertext link to another web page it is important to note that the ending tag, </tag name> contains the "/" slash character. This "/" slash tells a web browser to stop tagging the text. Many HTML tags are paired this way. If you forgot the slash, a web browser will continue the tag for the rest of the text in your document, producing undesirable result. Also remember that not all tags have an end tag

HTML is not case sensitive for examples
<b> bold text </b>
<B> bold text </B>

Both are displaying same out put

Basic HTML Document

HTML document contains mainly two parts, they are head and body. The 'head' contains information about the document that is not displayed on a web page, The 'body' then contains everything else that is displayed as part of the web page.

The basic structure is

[CODE
<html>
<head>
<title> :: here we will give title name of the webpage ::</title>
</head>

<body>
The content of the web page
</body>
</html>

An element called <html> surrounds the whole document. This element contains two sub element <head> and <body>. These elements are required to from any basic HTML document.

After create the HTML document save the file as "name.html" or "name.htm"


Comments

Author: Sumit27 Dec 2008 Member Level: Silver   Points : 0

Good One....

It Really Helps The Developers

regards
Sumit

Author: muhammed27 Dec 2008 Member Level: Gold   Points : 0

ya i m aggred with u



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: