Advertisement
Tech

Creating an HTML Banner with Photoshop: Learn How to Make Your Own Web Page Banners

Anyone who designs their own web pages at some point probably will want to go beyond simple, default banners supplied by others. This can be done with software such as Adobe Photoshop or other graphics editing software. Read how to make an HTML banner with Photoshop here.

By cra8051
Desk Tech
Reading time 4 min read
Word count 645
Web development Internet HTML articles
Creating an HTML Banner with Photoshop: Learn How to Make Your Own Web Page Banners
Advertisement
Quick Take

Anyone who designs their own web pages at some point probably will want to go beyond simple, default banners supplied by others. This can be done with software such as Adobe Photoshop or other graphics editing software. Read how to make an HTML banner with Photoshop here.

On this page

Layout the Format of a Banner

Begin creating the banner by opening Photoshop Elements. Chose File/New from the top menu. When the file creation dialog opens, select the file name and parameters for your banner. A good size is 468 pixels wide by 60 pixels high, but any size as long as it doesn’t consume too much space will work. Use the default settings for the screen resolution (72 pixels/inch), the mode (RGB Color) and the contents (White). Click OK when the selections are finished. A blank rectangle will appear that provides the working screen for the new banner.

(Note: This example was created using Photoshop Elements 7, but the same process can be followed for Photoshop.)

Advertisement

Create the Text for the Banner

Banner small

For the next step, select the text tool from the toolbox—the one with a large T icon. When you click on this, you should see some new options appear across the top of the screen relating to text font, size, and other choices. Leave the font name at the default, but increase the font size to 30 pt. Chose a color size for the banner text from the color choices on that same options list. Move the cursor over to the banner and click, then start typing whatever text you want to appear in the banner. In this case the title will just be “Creating a Banner in Photoshop.” You also can use any of the available Photoshop text or image editing options such as outline the text letters, changing the style, blurring the letters and many other features.

Advertisement

To reposition the text, chose the “Move” tool, the topmost choice in the tool box. A large box should then appear surrounding the text. You can move the text or make it wider or taller by clicking and dragging one of the very small boxes on the selection box. When satisfied, click the ESC key to be sure you are free of any editing tools. Then choose File/Save for Web. This action brings up a preview screen with choices about format. For this simple text banner, GIF format is fine so leave everything as it is and chose “OK.”

Spruce Up the Banner

banner image 2

Advertisement

This is a very plain banner, so to liven things up, add an image background to the text. Do this by using the File/Open command to find an image, perhaps a photograph with complementary colors. Once selected and opened, both the banner itself with text and the image should both be visible in the same window. Use the Move tool again to drag the photo on to the text banner. The text now should be superimposed on the photo. Save this now as a jpg file.

Write the HTML Code

The final step is to create a new or edit an existing HTML file to provide a location for the banner. This is done either through simple HTML coding in a text editor or with webpage creation software such as Adobe Dreamweaver or Microsoft Expressions. In Adobe Dreamweaver, create a new HTML page. Chose Insert from the menu, find the final banner jpeg image and insert it at the top of the web page. Save the webpage and you have your new banner ready to be uploaded to your web server. The basic HTML code to create the web page follows. (Note: Due to display limitations, the normal Left and Right Brackets < > placed around HTML tags have to be omitted here or else the code would try to execute on this screen.)

Advertisement

head

meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” /

Advertisement

titleSample Banner/title

style type=“text/css”

Advertisement

!–

body {

Advertisement

background-image: url(12Linen.jpg);

}

Advertisement

--

/style/head

Advertisement

body

pimg src=“banner_image_2.jpg” width=“616” height=“60” //p

Advertisement

h1Above is a banner I created using Photoshop Elements./h1

h2I added a page background color/h2

Advertisement

/body

/html

Advertisement

How the Banner Appears in a Browser

banner test sm html

Credits

All images courtesy of Charles R. Anderson

Advertisement
Keep Exploring

More from Tech

Filed under
Web development Internet
More topics
HTML articles
Advertisement