개발 기록/HTML & CSS

[HTML] 추억의 html Tag - <marquee>

JasonM 2023. 5. 11. 00:01
반응형

<marquee>: The Marquee element

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

 

예전에는 옵션까지 기록해 놓고 썼었는데 역시나 최신 브라우저에서는 대부분 사라져 버린 Tag. 

추억의 Tag인지 구글에 marquee tag라고 검색을 해보면 검색된 웹사이트 숫자를 Marquee로 보여주고 있다.ㅋㅋ

 

 

HEIGHT : 마퀴영역 높이
WIDTH : 마퀴영역 넓이
BGCOLOR : 마퀴영역의 배경색
BEHAVIOR : 스크롤 방향
LOOP : 스크롤되는 반복횟수
SCROLLAMOUNT : 한 번에 스크롤되는 속도
SCROLLDELAY : 한번 스크롤되고 대기하는 시간
behavior=scroll(기본값) : 오른쪽에서 왼쪽으로 글자가 스크롤
behavior=slide : 오른쪽에서 왼쪽으로 와서 멈춤
behavior=alternate : 좌, 우로 왔다 갔다 함
direction=left : 오른쪽에서 왼쪽으로 스크롤(기본값)
direction=right : 왼쪽에서 오른쪽으로 스크롤

 

 

 

반응형