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

YOUR FIRST HTML PAGE - III

Written by Amrit Hallan


Inrepparttar preceding section, we had leftrepparttar 118051 discussion atrepparttar 118052 tag, so let us continue from here.

For showing simple text, we userepparttar 118053

tag in such a manner:

Ah! This is forrepparttar 118054 first time I'm writing my own HTML. The world is so different out here. Marvelous!

You can consider

to be a paragraph.

OK, nowrepparttar 118055 page should look like:

This is my first, hand-coded HTML page

Ah! This is forrepparttar 118056 first time I'm writing my own HTML. The world is so different out here. Marvelous!

Refreshrepparttar 118057 page. See something?

If you want to highlight a section, for instance, "Marvelous!", you can do it like this:

Ah! This is forrepparttar 118058 first time I'm writing my own HTML. The world is so different out here. Marvelous!

Refreshrepparttar 118059 page. See something?

The use of some ofrepparttar 118060 tags have been discontinued by some ofrepparttar 118061 newer browsers, but we'll handle those complexities when we cover style sheets. Atrepparttar 118062 moment, these should work.

The browser will showrepparttar 118063 text inrepparttar 118064 default font. If you want to use your own font, size and color, you'll have to userepparttar 118065 font size for a particular portion ofrepparttar 118066 text like this:

Ah! This is forrepparttar 118067 first time I'm writing my own HTML. The world is so different out here. Marvelous!

If you find it confusing, just type it as it is, saverepparttar 118068 file, and refreshrepparttar 118069 page inrepparttar 118070 browser, and you'll understand what I'm trying to say.

Noticerepparttar 118071 opening and closing tags everywhere? SIZE, FACE and COLOR arerepparttar 118072 main basic attributes ofrepparttar 118073 tag.

== Step 6: ==

Let us now create a hyperlink and get over withrepparttar 118074 current article. A hyper link isrepparttar 118075 fancy text over which when you hover your cursor,repparttar 118076 cursor metamorphoses into a pointing finger, indicating that you are going to be taken to some other web-destination upon clickingrepparttar 118077 left mouse button. A graphic can act as a hyper-link too, but we'll come to that later.

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