HTML
  Home arrow HTML arrow HTML Methods to Remember and Use Effective...
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 
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 Methods to Remember and Use Effectively
By: Stephen Davies
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 12
    2007-12-05

    Table of Contents:
  • HTML Methods to Remember and Use Effectively
  • Page Layout
  • Text Enhancing
  • Use of Classes

  • 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 Methods to Remember and Use Effectively


    (Page 1 of 4 )

    In the years since the first development of HTML, many other computer languages have been developed to enhance the pages displayed on the Internet. These languages include JavaScript, VBS, Perl, ASP, and .Net. However, I will show you that you can enhance your web page just using HTML. This is especially important if you are new to web page development and have not had the time to learn another language.

    In 1990, Tim Berners-Lee and Robert Crillian developed HTML (Hypertext Markup Language) for CERN's (European Organization for Nuclear Research) World Wide Web (W3) project. The original purpose of the project was to better enable CERN's researchers to communicate over the Internet. In late 1991, Berners-Lee released the HTML specification on the Internet, and the World Wide Web (www) was born. The rest is history. The last official version of HTML (version 4.01) was released by the W3C (World Wide Web Consortium) in 1999. HTML 5.0 is still in the drafting stage.

    The first item I will discuss is web page backgrounds. Any web page you create is easily enhanced by either coloring the background or by adding a background image. You can further enhance your page by using a gradient (moves from lighter to darker or vice versa) colored background or by making the image static (text scrolls, but background does not). A great HTML color chart that is easy to read can be found at this website. We will need this to input the correct color codes in our HTML tags. Notice that each color has a name and a hexadecimal code (hex code) to identify it. We can use either the name or the hex code.

    To add a colored background just add the bgcolor attribute to the page's body tag:

    <body bgcolor="######">, where ###### is the color code from our color chart. For a light blue background, we would enter skyblue or the hex code 87CEEB like so:

    <body bgcolor="skyblue"> or <body bgcolor="#87CEEB">.

    To place an image, or to wallpaper our background, use the background attribute in the body tag: <body background="myimage.gif"> (we can also use jpeg). The lighter the image is, the better. The web browser will tile any image you use, so it will be repeated many times (wallpaper). The key to picking background colors and images is to pick one that will not obscure the text on our page. There are some pretty awful looking websites out there that are impossible to read. In the heydays of dialup connections, a cool effect was to add a colored background before the imaged background appeared, like so: <body bgcolor="skyblue" background="myimage.gif">. 

    To make a colored background gradually change hues, use the following body tag with the style attribute: <body
    style="filter:progid:DXImageTransform.Microsoft.
    Gradient
    (endColorstr='#87CEFA', startColorstr='#00BFFF', gradientType='0');">
    (make sure you place the whole tag on the same line, with no space between Microsoft.Gradient). Again, we can choose any color from the color chart, but for the best effect, we will use a light color shading and gradually shift into a lighter shade of the same color.

    To make the background image static use the following code:

    <body background ="myimage.gif" bgproperties="fixed">. Notice we used a new attribute in the body tag - bgproperties.

    More HTML Articles
    More By Stephen Davies


       · Why are you using attributes that are not a part of HTML 4.0?
     

    HTML ARTICLES

    - Using a 3D HTML Table as a Recordset
    - Building a 3D HTML Table
    - Maximizing and Restoring HTML Images: Layer ...
    - Completing Construction of a Database Form w...
    - Maximizing and Restoring Images in a Tabular...
    - Building the Recordset for an HTML Database ...
    - Laying Out a Database Form with HTML
    - Tabular Database Form Functions with HTML
    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT