How To Insert A Banner On A Website

Table of contents:

How To Insert A Banner On A Website
How To Insert A Banner On A Website

Video: How To Insert A Banner On A Website

Video: How To Insert A Banner On A Website
Video: Wordpress Tutorial: How to Add a Banner 2024, May
Anonim

When creating your site, the user devotes a significant part of his time to its design. A beautiful background, a pop-up flash menu, a variety of scripts that improve the design. Banners are often used to diversify the design and make the site more attractive.

There is a problem of adding a banner to the site. If the user uses the site engine, then the insertion can be performed by special modules or scripts. But it happens that they are hard to find, or their performance leaves much to be desired. Therefore, we will analyze how to insert a banner into the site code.

Flash technology
Flash technology

It is necessary

  • - ready-made banner and its source code
  • - html site file
  • - knowledge of the basics of the HTML language

Instructions

Step 1

Take the created banner and copy it to the folder where the source html file is located. Please note that when creating a banner, its code is generated, we copy this code to the clipboard.

Step 2

Open the html file of our site. We choose a place to insert the banner, it can be any, for example, after a certain article, or in the header of the site. The "object" tag is responsible for placing objects; it is a closing tag, i.e. at the end you need to close it "/ object". Usually a banner maker generates this tag along with the code, so just copy the code into the html file.

Step 3

The code specifies the main parameters of the banner, its background color, effects, etc. Pay attention to the "embed" tag. His presence is highly desirable. It is responsible for compatibility with older browsers, because earlier this particular tag was used to insert objects into the page.

Step 4

We save the html file, go to the page, update it and admire the set banner. The described method is used to insert flash banners, if the banner is in.gif"

Recommended: