Ovaj tag radi samo u IE, i napravljen je s ciljem za kretanjrem tekstaq horizontalno,kaoiu primeru dole.
A evoci HTML koda:
<p align=center> <font size=+3 color=red> <marquee width=75%> Zdravo, kako si? </marquee> </font> </p>
A, evo i svih atributa:
Na raspologanju su ove vrednostitop, middle i bottom. Slicno i IMG aributu, i ovaj radi isto - pozicionira tekst.
Ovaj atribut kontrolise ponasanje teksta koji se prikazuje. Evo,
value | effect | example |
---|---|---|
scroll | text scrolls across display and re-appears from the other end when it has disappeared from one end. This is the default behaviour. | |
slide | This is similar to scroll except that when the sliding text reaches the far end of the box, it disappears and restarts at the starting end of the box. If the display is not looping then the text remains positioned at the far end of the box. | |
alternate | text "bounces" between the ends of the box |
Ovaj atribut kontrolise boju pozadine, ako sto je u ovom primeru aqua
Ovaj atribut kontrolise direkciju, smer, pomeranja teksta. U starim verzijama, dopustena vrednsot je bila samo levo-desno.
value | effect | example |
---|---|---|
right | starts at right hand end | |
left | starts at left hand end |
Ako je behavior ==alternate tadaovaj atribut nema uticaja na tekst
SLEDECI ATRIBUDI IMAJU ISTU FUNKCIJU KAO I KOD SLIKE:
Kontrola VISINE display boxa.
Kontrola sirine display boxa.
Kontrola horizontalnog praznog prostora oko display box.
Vertical space around the display box.
Vrednost ovog atributa kontrolise broj ciklusa. -1 ili infinite oznacava neodredjeno.
Kontrola broja, vrednosti pomeranja u pixelima, cime se postizeuspesnost animacije.
Kontrola kasnjenja (in milliseconds) izmedju prikazivanja i on se odnosi na uspesnost utiska animacije.
Evo nekih primera:
scrollamount | scrolldelay | example |
---|---|---|
5 | 5 | |
5 | 500 | |
50 | 5 | |
50 | 500 |