Tuesday, 9 October 2012

Introduction to XML

Assalamualaikum. Hi everybody :-)
Last Wednesday, we learnt how to make XML syntax. XML stands for Extensible Markup Language.XML was created to structure, store and transport information.XML is different from HTML because XML is about carrying information whereas HTML is about displaying information.
The following example is a note to Elena from Stefan, stored as XML.

<note>
<to>Elena</to>
<from>Stefan</from>
<heading>Remember</heading>
<body>Don't forget me this weekend!</body>
</note>
XML in syntax form.

XML is now as important for the Web as HTML was to the foundation of the Web. It is the most common tool for data transmission between all sorts of application, and is becoming more and more popular in the area of storing and describing information. To learn how make XML,you can click here for the tutorial :-)

A 'Well Formed'XML document has correct XML syntax. The syntax rules are:

XML syntax Description
XML documents must have a root elements
XML elements must have a closing tag
XML tags are case sensitive
XML attribute values must be in quoted
XML elements must be properly nested

Introduction of HTML

Assalamualaikum!

Our 4th assignment for this week is Introduction of HTML.
Do you know what is HTML? HTML is language for describing web pages. 

  • HTML stands for Hyper Text Markup Language
  • HTML is a markup languange
  • A markup language is a set of markup tags
  • The tags describe document content
  • HTML documents contain HTML tags and plain text
  • HTML documents are also called we pages
You just need a computer, an Internet browser and a word-processing program such as Microsoft's Notepad or WordPad or MAc's Simple Text to write HTML.

This is the simple example that we had learn 
in class and its result in the web page.





    You can learn how to make a website in HTML Tutorial video. Start off with a solid foundation by learning some of the basics of HTML. In this HTML tutorial you will learn how to make a simple webpages.

    The tutorial starts off with definitions for HTML. It then goes on to demonstrate how you can use Microsoft Notepad to create your HTML file. It explains what HTML tags are and how to use some of the basic ones. This tutorial also shows how to display the HTML file in a web browser.

     
    This is basic text sections.
     
    <p> defines paragraph 
    <align> defines alignment
    <abbr> defines abbreviation
    <dfn> defines definition 
    <address> defines contact information
    for the author/owner of a document
    <blockquote> defines long quotation