Quarta, 24 de Abril de 2024




 Detalhe Solução

 HTML: Movimentar texto em HTML (ticker):

Para movimentar um texto (ou até imagem) em HTML, fazendo efeitos tipo "ticker", basta usar a tag MARQUEE.

Abaixo temos 3 exemplos de movimentos:

<marquee direction=right behavior=scroll scrollamount=10 scrolldelay=100>
 mensagem tipo "ticker"
</marquee>

<marquee direction=right behavior=alternate scrollamount=10 scrolldelay=100>
 mensagem tipo ping-pong
</marquee>

<marquee width=180 direction=right behavior=alternate scrollamount=10 scrolldelay=100>
 mensagem tipo treme-treme
</marquee>

Obs:
- Há a possibilidade de movimentá-la também na vertical, trocando o direction para UP;
- É possível movimentar imagens também. É só colocar a tag IMG junto com a mensagem.





¤ Links Relacionados:
- Veja todas as soluções do site