Sunday, 7 October 2012

XML


Assalamualaikum wbt. Today,  we would like to share with you a new topic we learnt that is about XML. XML stands for Extensible Markup Language which has been designed simply to make the usage of Internet much more easier. Simplicity, generality and usability are what emphasized by the usage of XML. XML is widely used in the representation of arbitrary data structures as we can find in web services. However, we have to strictly understand that XML is not a replacement of HTML.  XML has been designed more specifically to carry data then to display it. XML is however as important as HTML to the foundation of Web as it is the most common tool for data transmissions between all sorts of applications. Below we are going to provide you with the XML syntax and tables as well as some links for your own research and understanding:


<?xml version="1.0" encoding="ISO-8859-1"?>
<note>
  <to>
Tove</to>
  <from>
Jani</from>
  <heading>Reminder</heading>
  <body>Don't forget me this weekend!</body>
</note>


The differences between XML and HTML :

HTML XML
About displaying information About carrying information
No need to have Closing Tag All elements Must Have a Closing Tag
Tags are not case sensitive Tags are case sensitive


If you want to know further,you may refer to this link : http://www.w3schools.com/xml/xml_whatis.asp

Saturday, 6 October 2012

Introduction to HTML



Assalamualaikum wbt. Today we learned something new and even more challenging in our computer class. The topics revolve around the usage of HTML. HTML stands for Hypertext Markup Language and it is used to display information in web browser in the form of webpage and many more. To be more specific,  we can say that HTML is the building block of all websites. Web browser functions to read the HTML documents and translate them into visible and readable text of a webpage. Several important things to be noted when using HTML is, a slight mistake in typing the HTML syntax may result in clear visible error while  viewing the webpage. Therefore, typing HTML syntax requires precise and meticulous attention and one doesn’t simple write whatever he wants and the webpage will as good as he might expect. Headings, body, and paragraphs have to be aligned carefully to ensure correct display of data on the webpage. Not only we learn about a completely new topic, but we were also able to be more precise and meticulous in typing. Here we display some of our “precision” in HTML syntax typing: 

<html>
<body>
<h4>Sport Cars:</h4>
<ul type="disc">
<li>Ferari</li>
<li>Lamborghini</li>
<li>Audi TT</li>
<li>Masseratti</li>
</ul>
<h4>Classic Cars:</h4>
<ol type="A">
<li>Alfa Romeo Montreal</li>
<li>Audi 100 Avant</li>
<li>Austin Seven</li>
<li>Bentley  R-Type</li>
</ol>
<h4>Elegance Cars:</h4>
<ul>
  <li>Mercedez Benz</li>
  <li>BMW
     <ul>
     <li>BMW M-Zero</li>
     <li>BMW 5-Series</li>
     </ul>
  </li>
  <li>Mini Cooper</li>
</ul>
</body>
</html>
Here we provide the link for our webpage:
file:///F:/cars.html

Below is the example of the syntax of an HTML table:


 <html>
<body>

<table border="1">
<tr>
  <td>Cars</td>
  <td>Colours</td>
</tr>
<tr>
  <td></td>
  <td></td>
</tr>
<tr>
  <td>BMW</td>
  <td>Silver</td>
</tr>
<tr>
  <td>Lamborghini</td>
  <td>Black</td>
<tr>
  <td>Alfa Romeo</td>
  <td>Orange</td>
</tr>
<tr>
  <td>Mercedez Benz</td>
  <td>White</td>
</tr>
</table>

</body>
</html>

Here is the link:
file:///F:/table.html




Here we provide you with a picture of a cute professor teaching HTML:

We also provide tutorial video on HTML to give you a clearer understanding on HTML:



If there is still any confusion lingering in your minds,then feel free to visit this webpage. The link to the webpage is provided below:
http://www.w3schools.com/





Here is example of table :
Items Price(RM)
Shoe 20
Trouser 50
T-shirt 25.50