Monday, April 25, 2011

HTML Starter

What is HTML?


HTML stands for HyperText Markup Language.
Many people say HTML is a programming language, but it is not. HTML is a markup language.


A markup language is a set of markup tags. HTML uses markup tags to describe webpages.


What is HTML Tag?


HTML markup tags are generally called as HTML tags.
HTML tags are keywords surrounded by angular brackets. Example:- <HTML>
Tags come in pairs i.e. <HTML> and </HTML>
First tag is called as Start Tag and last one is End Tag.
They are also called as Opening and Closing Tags respectively.


HTML Files


HTML files are known as Web Pages.
HTML document can contain HTML tags and plain text.


How to create a Web Page and Where to see it?


You need nothing to create HTML documents.
You don't need to have HTML editor, Web Server or Web Site even.


You can simply write your HTML document in Notepad and see the result in the Internet Explorer or any other Internet Browser.


Although we have many good editors for HTML like Coffeecup HTML Editor, HTML Kit, Kompozer and some famous editors are Dreamviewer, Netbeans and Visual Studio.


I prefer to use the Komodo Edit editor which is a good editor for beginners and it provides auto complete facility which makes editing web pages easy.


If you want to download the editor Click Here.


After writing the code you can save the file with he extension .htm or .html.


HTML Elements


An HTML element is consists of a start tag, end tag and element contents.
Some HTML elements may not have end tag but they might end in start tag only.
Contents are everything in between start and end tags.
Some HTML elements can have empty contents or no contents.
Most of the HTML elements can  have attributes.


For Example:-


An element without attribute
<p> This is a simple paragraph.</p>


An element with attribute
<a href="http://www.yahoo.co.in">Go to Yahoo!</a>


An element without closing tag
<br />


Nested HTML Elements


HTML elements can be nested. It means you can write an HTML element inside another HTML elements. This is called as nested HTML elements or nested tags.


For Example:-


<html>
   <head>
      <title>
                 HTML Demo Page
      </title>
   </head>
   
   <body>
                This is a demo page that illustrates what is nested HTML elements.
   </body>
</html>

Let us start with HTML

Hi friends,

I am starting this new blog for those who are interested in learning HTML and CSS.
If you want to learn HTML and CSS then you can read and follow me on WizIQ.

I am staring with HTML basics and gradually we will move towards advanced HTML and CSS part.
I will start with HTML 5 and CSS 3 in some days. i am currently working on it.

So from today itself we will go on....!!!!!

So get ready and get reading.......!!!!!!!!