Unit 14. Others features (I)


Lets look at a set of elements that are usually found in web sites, they can be marquees, counters, and the date.

Marquees

Marquees are text, images, or a combination of them. They can be moved inside the window in linear form. Below we have an example of a marquee.

 

Welcome to Dog and Cats

 

Marquees cannot be inserted with the Dreamweaver graphics editor, you need to do it through the code.

To create a marquee you need to insert <MARQUEE> and </MARQUEE> labels. Between this labels you need to introduce the elements that you want inside the marquee.

You can also specify some of the characteristics of the marquee. The marquee is moved from right to left indefinitely by defect, but you can make this properties vary if you want . For example, if you write <marquee behavior="slide">, the marquee will only move once and then will stop.

If you write <marquee behavior="alternate">, instead of moving continuously, the marquee will move from side to side in the window, like bouncing to the extremes, just as it happened in the previous example whose code you can see next:

<marquee behavior="alternate">

Welcome to Dogs and Cats

<img src="images/logo_animales.gif">

</marquee>

 



  Ir a la página anterior Índice del curso  Ir a la siguiente página  

Page 14.1

Legal warning: Authorised on-line use only. It is not allowed the use of these courses in companies or private teaching centres.
© aulaClic. All rights reserved. Reproduction in any form whatsoever is prohibited.
November-2005.