Thursday, 27 June 2013

TT TAG

(6) TT TAG

This tag is used as the text will be shown as it has been typed by a typewriter. The tag name "TT" is derived from the word teletypewriter.

Simple code is as shown below:


<TT> This text will be appear as it will be written by some type writer. </TT>


  output will be as given below:

This text will be appear as it will be written by some type writer.

ADDRESS TAG

(5) ADDRESS TAG

The address tag is used to create the address of the company.This is a very simple tag you just write the tag as <address> and then close it with </address>. This tag is usually use in the start or at the end of a document and this will show the ownership or authorship information.

Simple code is as shown below:


<Address> Aptech Institute of Information Technology.<Br/>
Building No 125, Defence Road </Br>
Lahore, Pakistan </Br>
</address>


output will be shown as given below:

Aptech Institute of Information Technology.
Building No 125, Defence Road Lahore, Pakistan

BODY TAG

(4) BODY TAG


The most important tag of the html file is known as the body tag all the major data or other tags used in this area of the html structured file. This will be used as <BODY> and similarly you will close it as </BODY>.
Now after this tag your basic structure of the html document is ready and now you will move to the next round of character formatting.

Simple code will be as shown below:

<html>
<head>
<title>
Basic structure of the Html language
</title>
</head>
<body>

</body>
</html>

TITLE TAG

(3) TITLE TAG


This tag is used to gave the title of the document. Each page can has its own title. This will help to find what will be in the document next.This tag is used in the following form <TITLE> and close this with same methodology as we applied in the former tags.

Simple code for this will be shown as under.

<html>
<head>
<title>This document show the title page description</title>
</head>

</html>


HEAD TAG

(2) HEAD TAG

The second second structure tag is know as the Head Tag and it is written as <head>. This tag is used to represent the properties of the whole document such as the title, links etc. Once again this tag has no effect on the preview of the web contents. If you leave this tag in your file then no error will show neither any kind of problem will show in the preview of the web.
Here are some important elements which a head tag followed.
  • BASE: Records the original version of the document
  • ISINDEX: Marks the document as searchable. For this the server on which your file loaded must have a search engine.
  • NAME: Name this link as a possible destination for another hypertext document.
  • LINK: Define a relationship between the document and the other parts of the document.It will show a tree structure of the document and it has the same attributes as the <A> anchor tag has.
  • URN: Indicates the uniform name of the document.
Simple code of your file having this tag will be as under:


<html>
<head>


</html>
</head>


HTML TAG

(1) <HTML> TAG

This Tag is used in the start of the every html file. This will inform the browser that the next doc will be using the html tags and interpret it accordingly. This tag is closed with the same rule </html>. This tag is used in the end of the file which indicate that the file will be closed. But it is very interesting that if you will not use and close this tag then it does not mean that the browser will not show any kind of output. The out put will be same then the question arise in the mind that why we use it. 
In the simple html file, no impact will be shown if you will not use this tag but when you will learn the other languages like css, javaScript etc then you need to use this tag because you need to write the code accordingly. So it is highly recommended that you will use the same in your every file.

Simple code

Here is the simple code line which will show you how you will use the code in your html file.
Note: It is not a case sensitive language so you can you in either upper case, lower case or mix its all up to you.



<html>


</html>


Wednesday, 26 June 2013

HTML LANGAUGE

HTML LANGUAGE

HTML is the abbreviation of the " Hyper Text Mark up Language". This is not a true language and it will never show you the error and neither if you will not follow the rules and regulation of this language strictly. You can check in your own computer that if you will not use the strict rules then still you find the same result. I will try to adopt the ways that will help you to understand the language in a very common and easy way. 
Here are some common tags used in every HTML encoded file.
We can divided the html in different kind of categories like structure, formatting etc. Here are some four main structure tags listed below: 

  1. HTML TAG
  2. HEAD TAG
  3. TITLE TAG
  4. BODY TAG
The elements enclosed between "<" & ">" is know as the TAG. These tags is also known as the syntax of the HTML language. Every Tag will be opened must be closed because if you will not closed the Tag then the previous opened Tag will be effective.
To close any Tag just use "/" in the start of the Tag. This is the simplest rule to remember the syntax.