Friday, September 27, 2013

How to Create A Webpage Using HTML



HTML , or HyperText Markup Language is a universal coding system that is being used worldwide for many purposes, from creating a personal web page to establishing a company web site .
Since we cannot use our own language to start a web page , codes of HTML are used to build and design the web page. Some of the functions of HTML in a website are:
  1. Format text as title/heading
  2. Arrange graphics on web pages
  3. Link different websites
Besides, there are certain elements that we will usually see in HTML codes, which consist of start tag (also known as opening tag) and end tag (closing tag) such as:
  • <h1>  (the start tag for heading)
  • </h1> (end tag  for heading)
  • <p>    (opening of a paragraph)
  • </p>   (closing of paragraph)
  •  <a href="link to any web page">  (start tag for link to other pages)
  • </a>    (end tag for link)
Anything between the start tag and the end tag of every elements will be displayed as contents of the website, according to their respective formats. 

For example, if we want to create a table in our website , we can use HTML codes as well.
The code for a table is <table>
These are the codes we need to create a table with two columns and two rows:

 <table border="1">
<tr>
<td>A</td>
<td>B</td>
</tr>
<tr>
<td>a</td>
<td>b</td>
</tr>
</table>

and here is the table that we would get:


Column A Column B
any content related to A any content related to B

Next:

How to create link using html

First of all, open the notepad and type the
 <html>
<body> 

and

<p>



The tags to produce links are the <a>and </a>. Then type <a>
The <a>tells where the links should start and the </a> indicates where the link ends.
Everything between these two will work as a link.
The target of the link is added to the<a>tag using the href=http://www.whateverpage.com setting.
The example belowshows how to make the word here work as a link to yahoo.



Click <a href="http://www.yahoo.com">here</a> to go to yahoo.


You simply: 

  • Specify the target in the <a href=" ">.

  • Then add the text that should work as a link.

  • Finally add an </a> tag to indicate where the link ends.


If you want to continue to write further more about the links, you can add <h2>Chapter </h2> and
<p> This chapter explains......</p>

At the end type

<body>

and 

<html>

to close the html text.



How to create images using html


In HTML, images are defined with the <img> tag. 

The <img> tag is empty, which means that it contains attributes only, and has no closing tag.

To display an image on a page, you need to use the src attribute. Src stands for "source". 

The value of the src attribute is the URL of the image you want to display.

The steps of creating images using HTML are as below,



<html>
<body>
<p>
An image:
<img src="image.gif" alt="smiley face"
width="32" height="32" />
</p>
<p>
A moving image:
<img src="image2.gif alt="Computer man" 
width="48" height="48" />
</p>
<p>
Note that the syntax of inserting a moving image is no different from a non-moving image

The image will appeare according to the text above.

 Finally , after finishing the content for the website , the final code is

 </body>
</html>






                             


http://www.echoecho.com/p.gif

                            



Thursday, September 26, 2013

My First Day In IIum Kuantan

My first day in IIUM Kuantan was not really the best day of my life , if I was to be asked about it . Being a direct intake student , I already know that this would be a completely new world for me . So I was quite excited about meeting new people and getting new friends here in Kuantan. However, upon arrival , I was shocked to see that there was no new student to be registered that day , except me and a few friends that I met in Gombak Campus . By the way , I used to study In Gombak Campus last semester and was transferred here this semester. How could that be? What happened was actually there are two types of admission to IIUM :

Types of admissionExplanation
CFSFor students who undergo their foundation studies in IIUM Petaling Jaya
Direct IntakeLocal students who did not go to IIUM Petaling Jaya for foundation studies , as well as international students from various countries who want to pursue undergraduate studies in IIUM. Direct intake students make an online application for admission to the university

All direct intake students are required to sit for entrance tests which will determine whether they will be allowed to start their first year in the university or not. Those who pass the entrance test will proceed to their first year session , but for those who did not pass the entrance test will be registered to pre-sessional program. So my first semester in IIUM was spent as a pre-sessional student , and luckily enough I passsed all the subject to be allowed to begin my first year in IIUM Kuantan.

Despite all the confusions and everything that happened during the registration day in Kuantan , it is a relief that I was given a room which has been occupied by three lovely new students , who are now my new friends. Apart of the many things I saw here, there is one that caught my attention when I first entered the campus area:

OCD , IIUM KUANTAN

This is the Office of the Campus Director of IIUM Kuantan. It looks quite similar to the Rectory Building in IIUM Gombak , with the stairs and all.


The rest of the day was spent with my new friends, tidying up the room and talking to each other.
Since it was quite a tiring day for me , I went to bed early , knowing that I am now a part of the big family of IIUM. I hope this is the beginning of a beautiful journey that I will never forget.