Tuesday, December 16, 2008

XML and HTML

XML

XML stands for eXtensible Markup Language. It was designed to carry data, not to display data. XML is not a replacement for HTML. XML does not do anything. It was created to structure, store and transport information. XML tags are not predefined. It allows the author to define his own tags and his own document structure.

Here is a very simple example of XML:





HTML

HTML stands for Hyper Text Markup Language. Like XML, it is a markup language. A markup language is a set of makeup tags. The markup tags describe how text should be displayed. An HTML file is a text file with HTML tags. When a browser displays a web page, it will not show the markup tags. HTML has over 100 pre-defined tags.

As for blogging, one of the common HTML tags is a hyperlink:



A hyperlink is a link that takes you to another page or web site. As an example when I want to direct you to go to my son's website I insert the following hyperlink:





When you want to bold a word, say love, you do it this way:




You can see a typical HTML page at a site by right clicking you mouse and go to View Source.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...