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.

Beginning XML - Part IV(Basic Schema Of A DTD)

Written by Amrit Hallan


Inrepparttar following two articles, I'm going to wrap up my pondering on XML. We'll explorerepparttar 118052 basic schema of a DTD, andrepparttar 118053 future of XML.

Let's recall that some basic features of XML are:

· XML can keep data separated from your HTML · XML can be used to store data inside your HTML documents · XML can be used as a format to exchange information · XML can be used to store data in files or in databases

The power and beauty of XML is that it maintainsrepparttar 118054 separation ofrepparttar 118055 user interface from structured data, allowingrepparttar 118056 seamless integration of data from diverse sources. Customer information, purchase orders, research results, bill payments, medical records, catalog data and other information can be converted to XML onrepparttar 118057 middle tier, allowing data to be exchanged online as easily as HTML pages display data today. Data encoded in XML can then be delivered overrepparttar 118058 Web torepparttar 118059 desktop. No retrofitting is necessary for legacy information stored in mainframe databases or documents, and because HTTP is used to deliver XML overrepparttar 118060 wire, no changes are required for this function.

Oncerepparttar 118061 data is onrepparttar 118062 client desktop, it can be manipulated, edited, and presented in multiple views, without return trips torepparttar 118063 server. Servers now become more scalable, due to lower computational and bandwidth loads. Also, since data is exchanged inrepparttar 118064 XML format, it can be easily merged from different sources - ok, this isrepparttar 118065 aspects that personally interests me. The portability of data. Database programmer all overrepparttar 118066 world face unlimited problems while tackling with data of multifarious formats. If formats cease to matter, anybody, anywhere, on whichever machine, can view and manipulaterepparttar 118067 data.

>Fromrepparttar 118068 previous article, we might recallrepparttar 118069 XML, unlike HTML, does not have proprietary tags. We can go on a wild trip and define our own tags, according torepparttar 118070 necessity. Consider this for example:

4/17/2001 Telling what exactly XML means Some Examples of XML Some concluding text Emailrepparttar 118071 XML files to Yagna Have something light to eat and laze around Work on a client's web site

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