More:

Wednesday, 7 January 2015

HTML Tutorial – 2 (Introduction to HTML)

HTML Tutorial – 2
(Introduction to HTML)

What is HTML and Why is it so Important to learn web developing?
It’s simple answer is it is a standard system for making the core of web pages. HTML is the base of a web page, and is one of basics of all the programming languages too. Because if you know HTML you have good chance to learn other advanced programming languages too.

Before starting practicing HTML on a computer you must know which programs you can use to create a HTML document. There are many kinds of HTML editors available. You can simple use any kind of text editor like notepad on your computer for this purpose. All you have to do is save your file with file.html extension. Or you can use more advance editor like NOTepadd++ and Dreamweaver.
Just make a new notepad file and save it with .html extension or if you are using more advanced editor like Dreamweaver click on file>new>Html and then hit create at the bottom. Just go ahead and erase everything prewritten on the page. And before writing anything read this tutorial till the end.

So let’s start HTML. HTML basically works on “Tags”. A Tag is a special format to input data into HTML to show it in a web page. A tag starts with <anyelement> and ends with </anyelement>. And very first tag of HTML that is used in a web page or also called file is <HTML>. HTML tag starts with <HTML> and ends with </HTML> at the end of the file. All the web page code is written within this tag. Like:-




Like I said earlier all the code of a webpage goes into these <html>”Type anything here”</html> tags. Type and save it and open the file with any web browser( OR you can use Preview or world icon in Dreamweaver. Lets test our first webpage:-




 Output in the browser:

So we have learned basic tag and how to start HTML coding. we will see in your next tutorial how you will add other tags in the document and what will those tags do. 


Previous Tutorial                                                                                                              Next Tutorial

No comments:

Post a Comment