Aug 20, 2011
admin
Comments Off

How to Create Website Banners

When hypertext markup language (HTML) is used to create webpages, various strategies are employed to provide any website a web presence. A banner in a HTML code is a brief description of website to attract attention. The main reason for emphasizing on banners in commercial and business websites as a marketing strategy is to draw more business. Banners help provide an aesthetic look for any kind of websites, be it commercial, personal or any blog. A simple example to create website banners is given below:

 

<HTML>

<HEAD><TITLE>Book with Chapters</TITLE></HEAD>

<BODY>

<IMG SRC=“banner.jpg”>

<H2><CENTER>Chapter X</CENTER>

<P>Introduction for the chapter X</P>

 

The image banner.jpg which is the banner source file will be shown at the top of the webpage for which it was designed. This banner can be customized in its size to fit the webpage. It is a very simple way to customize any webpage and provide an appealing look to it.

Layout to accommodate the banner can be done using simple tables. To effectively create website banners this simple way of layout can be used. This is the most basic way to layout a webpage without using Cascading style sheets. The top most row of the table is used to place the banner. An example with layout using tables is given here:

 

<TABLE cellspacing=”3″ cellpadding=”2″ border=”0″ height=”150″ width=”500″>

<TR height=”50″>

<TD colspan=”2″ bgcolor=”gray”>

<TR><TD>My Banner</TD></TR>

</TABLE>

 

Using this scheme, the banner can be customized and any kind of banners suited for the webpages can be easily created. All the attributes for the table can be specified to give the banner any kind of appearance. This whole table code can be wrapped around with an anchor tag to make the banner a hyperlink where the user can go to the desired webpage. Using a simple text editor tool and HTML, banners can be easily created.

Comments are closed.