About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > Title & Body...

   Browse by title articles:
   What is hot:

Deprecated Tags - What does it...

HTM or HTML - What is the diff...

Tables Vs. CSS positioned DIVs

HTML Basics

Colors

Title & Body

Know linux
HTML Basics
Extensions & Tags
Environments
 1 2345678910Next articles



Title & Body


Computer & I'net articlesTitle & Body

by David Stanley    



The TITLE is used to give your web page creation a name. Every great work deserves a name and a web page is no exception.

Any text placed in the TITLE tag set will be used to title or name your page. This title will appear in the top bar of the browser window. It is also used as a file name if the visitor decides to "bookmark" or save your page for later viewing. In Internet Explorer, bookmark is known as "favorites".

The TITLE belongs in the HEAD area of the page coding. It is a code that helps define or describe the page.

<html>
<head>

<title> Welcome to my web page! </title>

</head>
<body>
</body>
</html>

Typically, the TITLE should be a descriptive statement up to 200 characters.

The BODY section holds most of the actual coding seen or used on the web page. The BODY tag itself has properties and values that determine how the page is going to be viewed.

BGCOLOR BackGround COLOR.
TEXT TEXT color.

These properties declare what color to use as the general background setting and the color of the text. By default, most browsers will show a white background with black text.

<html>
<head>
<title> Welcome to my web page! </title>
</head>

<body bgcolor="#0000FF" text="#FF0000">

This text is red on a blue background.

</body>
</html>

 
The color codes used in the above example will create a blue background with red text. This is a rather extreme example (hard on the eyes after awhile). Any of the color codes previously shown can be used as the BGCOLOR and TEXT color. Remember to use the # before the color code and to use "quotes" around the values.



-----------------
Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission.





Student Loan




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com