HTML
  Home arrow HTML arrow Page 5 - 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  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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 / 68
    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


    HTML Tutorial - Working with Images


    (Page 5 of 12 )

    It’s very easy to place images on a web page. Images can be of extensions .bmp, .gif, and .jpeg. However, gif and jpeg files are commonly used. They are applied using the <IMG> tag. An attribute called SRC is used to specify the path of the Image. The following code displays an image named ballon.gif on a web page.

    Listing 11

        <IMG src = "ballon.gif">

    You can also specify attributes like Width and Height if required. ALT attribute will enable you to add a popup text when you move the mouse over the Image as shown in the listing below:

    Listing 12

        <IMG src = "ballon.gif" alt = “This is ballon.gif”>

    Filling Background with Colors and Images

    You can make the background of your web page to a specified color by using bgcolor attribute in the <body> tag. Following code will change the background of your page to red:

    Listing 13

        <BODY bgcolor = "red">

    Similarly, if you require an Image to occupy the background of your web page, background attribute is used with the <body> tag as shown below:

    Listing 14

       <BODY background = "ballon.gif">

    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

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT