How to make a flash banner the link

How to make a flash banner the link

If you have no ready HTML code for an insert it on the page, but there is a banner, then to add the reference necessary for you simply. Even if the banner is created on a flash technology. Instruction 1. If the banner is created in one of the formats ipg, gif, bmp, png, it is enough to place the tag of the image in the tag of the link. 2. For a start create the tag of the image. On a hypertext markup language its simplest option so looks: . 3. Pay attention: in the src attribute the differential address of the picture is specified. In similar option the browser will consider that it is located in the same folder of the server in which also the page where the banner is inserted is placed. It is better to specify to the browser the absolute address: . 4. Add some more attributes to such tag. Two them them will designate width and height of a banner. These optional attributes, the picture it will be displayed also without them if during the load of the page from the server the browser works at good speed. But if the image for some reason is not loaded, then the lack of the instruction on parameters will lead to the fact that all remained elements of design will be not on the places. - the tag with the indication of the sizes will look so. 5. The browser by default draws around images with links a blue frame. That it did not occur, add the border attribute to the tag for a banner with null value: . 6. Add the title attribute. When aiming at a cursor banner of a mouse it will contain the text for the tooltip balloon: . 7. You prepared the tag of the picture with the most important attributes, now it is necessary to place it in the tag of the link. Two tags it is possible to create each hyperlink - closing and opening: 8. The href attribute containing the address for sending request is located in the opening tag. Insert the tag of a banner between these two tags:

Author: «MirrorInfo» Dream Team


Print