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.

Beginning XML - Part 1 (An Introduction)

Written by Amrit Hallan


Coming straight torepparttar point, XML stands for EXtensible Markup Language. Asrepparttar 118050 name suggests, it is a language that can be molded according torepparttar 118051 need ofrepparttar 118052 hour. Personally, I don't think calling it a language is justified, but I fanatically followrepparttar 118053 ordinance ofrepparttar 118054 techie Gurus, and if they say it is a language, then it is a language.

As isrepparttar 118055 case withrepparttar 118056 famous HTML, XML too is a markup language, but its main power, unlike HTML, lies inrepparttar 118057 ability to describe data without harassingrepparttar 118058 over-worked server. Since most ofrepparttar 118059 work is done onrepparttar 118060 client's machine (the person who is runningrepparttar 118061 browser), there is less strain onrepparttar 118062 server.

It uses DTDs (Document Type Definitions) to properly define and organize data. Butrepparttar 118063 presence of DTDs is not mandatory, and their absence does not hinderrepparttar 118064 performance ofrepparttar 118065 web page.

The most interesting thing I have found in XML is,repparttar 118066 tags are not pre-defined - you can create your own tags and use them as and when required. XML specifies neither semantics nor a tag set. In fact XML is really a meta-language for describing markup languages. In other words, XML provides a facility to define tags andrepparttar 118067 structural relationships between them. Since there's no predefined tag set, there can't be any preconceived semantics. All ofrepparttar 118068 semantics of an XML document will either be defined byrepparttar 118069 applications that process them or by style-sheets.

XML allows users to:

· bring multiple files together to form compound documents · identify where illustrations are to be incorporated into text files, andrepparttar 118070 format used to encode each illustration · provide processing control information to supporting programs, such as document validators and browsers · add editorial comments to a file.

It is important to note, however, that XML is not:

· a predefined set of tags, ofrepparttar 118071 type defined for HTML, that can be used to markup documents · a standardized template for producing particular types of documents.

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