The automatic scrolling effect of the page can be achieved by JavaScript, but today I accidentally discovered an HTML tag - <marquee></marquee> which can achieve a variety of scrolling effects without JS control. The marquee tag can be used to move not only text, but also images, tables, etc. Syntax: <marquee>...</marquee>; Description: Add the content to be scrolled between the tags. Important properties: 1. Scroll direction (including 4 values: up, down, left and right) Syntax: <marquee direction="scroll direction">...</marquee> 2. Scrolling behavior (scroll: scroll in a loop, the default effect; slide: scroll once and then stop; alternate: scroll back and forth alternately) Syntax: <marquee behavior="scroll mode">...</marquee> 3. Scroll speed scrollamount (scroll speed is to set the length of movement each time you scroll, in pixels) Syntax: <marquee scrollamount="5">...</marquee> 4. Scroll delay scrolldelay (set the scrolling time interval in milliseconds) Syntax: <marquee scrolldelay="100">...</marquee> 5. Scroll loop (the default value is -1, the scroll will continue to loop) Syntax: <marquee loop="2">...</marquee> 6. Scroll range width, height 7. Scrolling background color bgcolor 8. Blank space hspace, vspace JavaScript CodeCopy content to clipboard
|
<<: js native waterfall flow plug-in production
>>: Detailed explanation of nginx proxy_cache cache configuration
The content of the written Dockerfile is: FROM py...
I recently stumbled upon the Audiovisual Linux Pr...
In the process of Django web development, when wr...
MySQL add, delete, modify and query statements 1....
Table of contents Start by clicking the input box...
Table of contents Preface 1. Introduction to Axio...
This article shares the specific code of JavaScri...
Go to https://dev.mysql.com/downloads/mysql/ to d...
Table of contents 1.Json string 1.1Json Syntax 1....
Does time really exist? Some people believe that ...
The installation tutorial of MySQL 5.7.19 winx64 ...
I installed redis today and some errors occurred ...
The notepad program is implemented using the thre...
In the previous blog, Xiao Xiong updated the meth...
If there is an <input type="image">...