Monday, October 20, 2014

Conflicts for which language to choose HTML to HTML5 as a starter !

As a starter, I in my personal view would refer to learn HTML. As After learning HTML you can easily update your studies to HTML5. Most of the things in HTML and HTML5 are in common but though many extra features have been added in HTML5 to HTML.
Before starting I would like to go a little back on history and let you get some historical information on HTML (Hyper Text Markup Language). HTML was introduced by a physicist Tim Berners-Lee in 1989, so HTML is not more older then 26years. It was a memo wrote by Tim burners-Lee proposing an internet based hypertext system that leaded later to development of HTML. HTML is the markup language that browsers use to compose and interpret texts, images, audio, video materials in web pages. The first introduced public description about the language was a document called ”HTML Tags”.
After a little history we will now leave the rest history to b history and further move on with the details about HTML. In HTML document all things are well formatted by tags. Tags are sort of building blocks in HTML documents. HTML tags has some major functions like:
1.       It specifies the document type to the browser.
2.       Tag is the container for all other elements in HTML.
Tags in HTML are included inside “<>” and is necessary to close the tag after its uses is over. Eg: <html> </html>, here <html> opens the tag whereas </html> closes the tag. Unless you include your tag inside <> the tag is not supposed to be tag. In HTML basically “four” tags are commonly used. These tags are the most necessary tags in HTML.
1.       <HTML>
2.       <HEAD>
3.       <TITLE>
4.       <BODY>
Note: case do not matters you can write your tags in either lower case i.e. <html> or in upper case <HTML> that makes no difference.
Now that we have known a little about HTML and its background I will be providing a simple example about how to write your first HTML document and run it in your computer. However there are various platforms like Adobe Dreamweaver, Google Web Designer etc. but in my view it would be great if you start learn with notepad or notepad++ and you need most is a browser you can use any of them.
Steps to your first HTML document :
   1. Create a folder named HTML in your desktop.
             2. Open a notepad and save the file inside your HTML folder in your desktop naming it my_first_page or anything you feel convenient of.
       3. After saving the file, open it again and start typing the code below.
<html>
<head>
<title>
my first page
</title>
<head>
<body>
My First Page !
</body>
<html>
      4. The file might have been saved with .txt extinction in it now rename the file in my_first_page.html or my_first_page.htm.
      5. Right click on the file and go to open with option and select your browser(as shown in picture).
     6. You just have created your first web page ”Congrats”.