YOUR FIRST HTML PAGE - I

Written by Amrit Hallan


I often hear and read about various web authoring tools available that can help you createrepparttar coolest web pages in a jiffy, for example, FrontPage2000, Dreanweaver, CoffeeCup etc. But let me tell you one thing, there is nothing like using a simple text editor for creating web pages, and believe me, you can come up with better pages through hand-coding.

Most of GUI-based web page authoring tools have their own fancy ways of generatingrepparttar 118049 HTML code, and byrepparttar 118050 time they are through, you have a page three timesrepparttar 118051 size of what you would have had, had you simply writtenrepparttar 118052 HTML commands. Mathematically, if you generate a page through FrontPage2000, for instance, and it's size is 30 units [bytes, kilobytes], you can haverepparttar 118053 SAME look by hand-coding, andrepparttar 118054 size will be 9-10 units. Yes, this isrepparttar 118055 amount of junk code generated.

Onrepparttar 118056 Net, size does matter.

When forrepparttar 118057 first time I sawrepparttar 118058 source-code of an HTML page, I got so scared that I quickly closedrepparttar 118059 window. Then gradually, my web developer friends talked me into learningrepparttar 118060 ropes line by line, and within a week, I felt like an HTML dude. I'm not exaggerating. It really is so easy.

So if you are psychologically ready, and would like to give it a try, follow these steps and in about 10 minutes, you'll have your first [if you have never done it before] hand-coded HTML page. Don't get disheartened withrepparttar 118061 look, I understand you could be used torepparttar 118062 fancy-frills of your tool. Just remember one thing, an HTML page is mostly made of tags. There is a beginning tag: , and an ending tag . Noterepparttar 118063 forward slash inrepparttar 118064 ending tag. In this first article, we'll be discussingrepparttar 118065 basic tags. Inrepparttar 118066 proceeding articles, we'll go deeper and deeper.

Another thing before we progress: get hold of HomeSite, if you can. It's a very neat HTML coder - very humble. It let's you run amuck with your hand-coding, but now and then, provides help inrepparttar 118067 form of drop-down menus, so that you do not have to memorize all those spooky options associated with HTML tags. It automatically pops outrepparttar 118068 closing tag so you don't miss it. Check it out at http://www.allaire.com.

Beginning XML - Part II (XML Style Language)

Written by Amrit Hallan


In order to work with XML, it becomes necessary to know a little aboutrepparttar XML Style Language.

XSL provides for two forms of output flow objects. The first set isrepparttar 118048 set of displayable objects defined for HTML, which allows XML data to be mapped into HTML-aware browsers. The second set is based onrepparttar 118049 DSSSL-O specifications (Document Style Semantics and Specification Language - Online), and allows XML data to be mapped to DSSSL-based text formatters, such as JADE. Both sets of flow objects are described using XML markup.

XSL defines a set of rules which define a set of actions that are to be associated with various patterns of target elements. The selection of target elements can be qualified in a number of ways. For example, XSL allows different rules to be applied torepparttar 118050 same element type dependent on what its ancestors, siblings or contents are. In addition, processing rules can be specified for application when particular attribute values have been associated with an element, or whenrepparttar 118051 element has specific contents. This means that specific rules can be applied to elements with unique identifiers or identified content types (classes).

XSL allows forrepparttar 118052 definition of sharable sets of style rules. A style rule applies a set of processing characteristics to a target element without creating a new flow object. Whererepparttar 118053 same style is to be applied to a number of elements, a uniquely named style can be defined for future reference. This provides XSL withrepparttar 118054 facilities for creating cascading sets of style sheet specifications similar in effect to those defined inrepparttar 118055 more limited Cascading Style Sheet specification used to process HTML documents.

XSL style sheets can userepparttar 118056 ECMAScript programming language to evaluaterepparttar 118057 contents of elements or attributes prior to or duringrepparttar 118058 creation of flow objects. ECMAScript is a variant of JavaScript and Jscript that has been formally defined byrepparttar 118059 European Computer Manufacturers Association. It allows tools containing a Java Virtual Machine to process data contained within an XML document. The language has been designed to support only a limited set of processing side-effects to ensure that evaluation cannot inhibitrepparttar 118060 progressive rendering of large documents.

Now coming back to XML, it was originally developed to allow structured documents ofrepparttar 118061 type typically encoded in SGML to be delivered overrepparttar 118062 Internet as an integrated part ofrepparttar 118063 World Wide Web of documents. Typically these documents requirerepparttar 118064 specification of element types over and above those permitted in HTML (e.g. specific elements for parts number and other forms of article identification, prices and other forms of calculable measurements, and special classes of displayable text such as health warnings and controlled task lists). XML allows users to define their own sets of document elements and describe how each of these elements should be displayed on a screen in conformance withrepparttar 118065 supplier's house style.

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