HTML
  Home arrow HTML arrow HTML Tutorial
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

HTML Tutorial
By: Anand Narayanaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 64
    2004-10-11

    Table of Contents:
  • HTML Tutorial
  • Paragraph Tags, Attributes and Headings
  • Using Lists
  • Indents and Links
  • Working with Images
  • Working with Tables
  • Working with Frames
  • Using Forms, Text, Buttons, and Combo Box
  • Text Area, Check Box, and Radio Buttons
  • Additional Tags
  • Drawing Lines, SUB and SUP Tags
  • Test Yourself Questions

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    HTML Tutorial


    (Page 1 of 12 )

    This article is the September contest winner. The author provides a basic tutorial of HTML, with code samples illustrating headings, lists, background colors, using the Frame tag and more.

    The Basics

    HTML stands for Hyper Text Markup Language. It is the language which is used to design and format web pages. You have probably heard of programming languages such as C, C++, Java, and Visual Basic. Each of these languages consists of syntaxes and programming rules. These syntaxes are what programmers call codes. It's important to learn how to write codes using the relevant language. Moreover, you have to strictly adhere to the rules and conventions of that particular language.

    In HTML, these syntaxes are called as Tags. Tags are enclosed within angular brackets: < and >. There are lots of predefined tags in HTML, which are used for various purposes. For example, in order to modify a line of text into bold, you apply the bold tag with an opening tag as <B>, then write some lines of text or a paragraph containing some text, and close the tag using the tag </B> as shown in listing 1.

    All tags in HTML have to be closed using the syntax </>. But there are some exceptions to this rule, which we will discuss later. You can code your tags as you wish because HTML is not a case sensitive language like C++ and Java.

    Structure

    Every HTML code needs to be written in a structure which is defined by World Wide Web Consortium. It is not compulsory to follow this structure. However, it is good practice to follow this structure while designing your web pages. Listing 1 shows the structure of a simple HTML page:

    Listing 1

    <!-- This is the way to apply comments in HTML. This will not
    be displayed on the browser -->

        <HTML>  
       <HEAD>
        <TITLE>
        Welcome to HTML
        </TITLE>
        </HEAD>
        <BODY>  
        <!--PAGE CONTENT STARTS HERE-->
        <B>This is your first web page designed using HTML. This line will be printed as your output.</B>
        </BODY>
        </HTML>

    Enter the above code using Notepad and save the file as First.htm or First.html. However, you can use your own file name. Now open up your browser Microsoft Internet Explorer (File | Open) or Netscape Navigator (File | Open File) and browse for the file, which you saved. If everything goes well, you will view the output. Whatever is written inside the body tag will be displayed on the browser.

    Now try out the following piece of code and observe the results:

    Listing 2

        This text will be in Bold
        <B>Welcome to HTML</B><BR>

        This text will be in Italics
        <I>Welcome to HTML</I><BR>

        This text will be Underlined
        <U>Welcome to HTML</U><BR>

    <BR> tag denotes Line Break. It creates a new line.

    More HTML Articles
    More By Anand Narayanaswamy


       · this is really terrible. how did this win a contest?? the author could not even use...
       · I read the date of the article twice, as it would have been quite a valid article in...
       · Dear Reader;The article won because of the quality of the article, including...
       · about the benefits of charcoal for transportation, it'll win? This is...
       · You know, you're absolutely right. All I can say is that I apologize for any...
       · Hi All,Thanks for your comments. Well. I am the author of this HTML...
       · Point taken. But that is like taking out the english people use in text messaging...
       · "The <BLOCKQUOTE> tag double indents a block of text from both margins automatically...
       · I noticed one thing about that tutorial that I find VERY amateur. How many of...
       · Right or wrong, the author has still made an effort to explain the 'concept' of...
       · Even for HTML 3.2, this article advocates bad practises. Fact is that nobody _needs_...
       · I think the quality of this article is really good. It would be really helpful for...
       · No offense Shiju, but your website is garbage as well, and you are most certainly...
       · man i just spent like 2 hours reading and following this tutorial and now that im...
       · I was just thinking the SAME EXACT thing...
       · this article serves its purpose but its step by step tutorial is too easy and...
       · I am photographer and i still teach B&W using a darkroom. I see both side, although...
     

    HTML ARTICLES

    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway