marquee tag

Ovaj tag radi samo u IE, i napravljen je s ciljem za kretanjrem tekstaq horizontalno,kaoiu primeru dole.

Zdravo, kako si?

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:

  1. align

    Na raspologanju su ove vrednostitop, middle i bottom. Slicno i IMG aributu, i ovaj radi isto - pozicionira tekst.

  2. behavior

    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. Hello World
    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. Slide
    alternate text "bounces" between the ends of the box Alternate

  3. bgcolor

    Ovaj atribut kontrolise boju pozadine, ako sto je u ovom primeru aqua

  4. direction

    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 Hello, World
    left starts at left hand end Hello, World

    Ako je behavior ==alternate tadaovaj atribut nema uticaja na tekst

SLEDECI ATRIBUDI IMAJU ISTU FUNKCIJU KAO I KOD SLIKE:

  1. height

    Kontrola VISINE display boxa.

  2. width

    Kontrola sirine display boxa.

  3. hspace

    Kontrola horizontalnog praznog prostora oko display box.

  4. vspace

    Vertical space around the display box.

  5. loop

    Vrednost ovog atributa kontrolise broj ciklusa. -1 ili infinite oznacava neodredjeno.

  6. scrollamount

    Kontrola broja, vrednosti pomeranja u pixelima, cime se postizeuspesnost animacije.

  7. scrolldelay

    Kontrola kasnjenja (in milliseconds) izmedju prikazivanja i on se odnosi na uspesnost utiska animacije.

    Evo nekih primera:

    scrollamount scrolldelay example
    5 5 Hello, World
    5 500 Hello, World
    50 5 Hello, World
    50 500 Hello, World





Izlaz