YOUR FIRST HTML PAGE - II

Written by Amrit Hallan


Inrepparttar book, "The Agony andrepparttar 118054 Ecstasy", I read that Michael Angelo dug up graves in order to studyrepparttar 118055 human anatomy in all its gory manifestation. He used to holdrepparttar 118056 internal organs in his bare hands. He came up with masterpieces.

The same is true for any skill, here HTML. I do not recommend you exhumerepparttar 118057 dead to come up with good web pages, but it is necessary that you understand them inside out. You should know what tag does exactly what, how, and how it can be manipulated to do what you want to do.

We had concludedrepparttar 118058 previous section withrepparttar 118059 all pervasive tag: . This tag informsrepparttar 118060 reader (a browser or a word-processor, or anything that reads HTML) thatrepparttar 118061 file being considered is a web page.

Let's see what step 4 has in store.

== Step 4: ==

Within tags, insert another tag so that your lines look like:

Withinrepparttar 118062 head tag, we store allrepparttar 118063 information that we wantrepparttar 118064 browser to read first before proceeding to readrepparttar 118065 rest ofrepparttar 118066 stuff, for instance,repparttar 118067 title ofrepparttar 118068 page, information aboutrepparttar 118069 author, meta tags (some ofrepparttar 118070 meta tags causes your page to be found whenrepparttar 118071 user tries to find a page like yours, through his/her preferred search engine or directory, for instance, "Description" and "Keywords" meta tags), etc. Forrepparttar 118072 time being, we'll have justrepparttar 118073 Title tag here, as right now we are in no hurry to be found by all and sundry.

Although it is not withinrepparttar 118074 scope of this article to tutor you on how to be search engine friendly, it is recommended you chooserepparttar 118075 words of your title after careful scrutiny. Try to include in itrepparttar 118076 words that you thinkrepparttar 118077 surfer might type atrepparttar 118078 search engine prompt. The search engine guys recommend that if it is your company page, then putrepparttar 118079 name of your company there.

YOUR FIRST HTML PAGE - IV

Written by Amrit Hallan


Inrepparttar preceding sections, you learnt how to come up with an elementary HTML page. You learntrepparttar 118053 tags that arerepparttar 118054 backbone of an average HTML page, namely, , , , ,

and .

Assuming you could assimilaterepparttar 118055 gushing fountain of wisdom inrepparttar 118056 previous articles, we move ontorepparttar 118057 streams of more evolved tags. Let's start with graphics.

Graphics enhancerepparttar 118058 look of a page, they make it more informative [One picture is worth a thousand words, etc.], and they give your page an identity. But don't go over board -repparttar 118059 total size of one page should not, ideally, exceed 25 KB. There are many other issues involved with web-based graphics, but at this moment, we are just coveringrepparttar 118060 HTMLization of graphic files.

== Step 7: ==

To include graphics, we userepparttar 118061 tag in this manner:

Where "picture.gif" is some graphic file that you already have inrepparttar 118062 same folder. Ifrepparttar 118063 graphic file is not present inrepparttar 118064 same folder as your HTML page, then you have to specifyrepparttar 118065 entire path ofrepparttar 118066 file being used. For example, if your HTML file is inrepparttar 118067 root directory, and "picture.gif" is in a sub-directory - graphics - of your root-directory,repparttar 118068 syntax turns out to be:

"/" (forward slash) is for servers. For your local hard-drive, you should use "" (back slash).

SRC is an attribute of and it stands for "source".

There are primarily two graphic file formats prevalent onrepparttar 118069 web, namely, GIF and JPG. GIF files use lesser colors, and hence are smaller in size and load quicker, and further, animated graphics can be created out of GIF files. JPG files are more refined, and we use them to display graphics that require clarity and greater pixel density, for instance, a photograph. More efficacious formats are being developed inrepparttar 118070 meantime to suit Internet compatibility.

In some tags, you don't have to userepparttar 118071 closing tag. We don't use with .

Let us borrowrepparttar 118072 HTML code of our existing page, and in that, includerepparttar 118073 tag too.

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use