방향<br><br> <marquee> 움직일까?</marquee> <br> <marquee direction="right"> 오른쪽으로 움직여라</marquee> <br> <marquee direction="up"> 위쪽으로 움직여라</marquee> <br> <marquee direction="down"> 밑으로 떨어진다</marquee> <br> <marquee behavior="slide"> 왼쪽으로 오다 멈추어라 </marquee> <br> <br> 속도<br><br> <marquee scrollamount="1"> 천천히 움직여라</marquee> <br> <marquee scrollamount="2"> 조금더빠르게 움직여라</marquee> <br> <marquee scrollamount="3"> 더욱 빨리</marquee> <br> <marquee scrollamount="4"> 더빨리 움직여볼래?</marquee> <br> <marquee scrollamount="5"> 넘느려 더빨리</marquee> <br> <marquee scrollamount="6"> 음..빠르군^^</marquee> <br> <marquee scrollamount="20"> 우와 너무 빨라</marquee> <br> <marquee direction="right" scrollamount="1"> 넌 오른쪽으로 천천히 움직여라</marquee> <br><br> behavior="slide" <br><br> marquee 다음에 이렇게 넣으면 글이 오다가 <br> 끝에서 멈추어라는 말입니다 <br><br> behavior="alternate" <br><br> 이건 왔다갔다 하라는 말이죠 <br><br> marquee 다음에 direction은 움직임의 방향 명령이고 <br> scrollamount 속도 명령은 아시겠죠? <br><br> 글자에 바탕색을 넣어보죠 <br><br> 바탕색 명령은 bgcolor 입니다 <br> bgcolor="넣고싶은 색 코드" <br> 물론 marquee 명령내에 넣어야죠 <br> <br> <marquee bgcolor="yellow"> 노란색 바탕</marquee> <br><br> 그럼 지금까지배운 모든걸 적용해보겠어요 <br><br> <marquee direction="up" scrollamount="1" bgcolor="yellow"> <br><br> 행복 <br><br> 주는 것은 받는 것보다 행복하여<br> 사랑하는 것은 사랑받는 것보다<br> 아름답고 사람들을 행복하게 한다.<br><br> - 헤르만 헷세 -</marquee> <br><br> 배경색 <br> bgcolor="yellow" 노란색 바탕 <br> bgcolor="blue" 파란색 바탕 <br><br> 이렇게 bgcolor 뒤에 원하는 색의 이름을 넣어주면 <br> 바탕색이 내가원하는색으로 변한다는것을 이해 하셨을겁니다 <br><br> marquee만 단순히 사용하면 기본적인 지원이 됩니다 <br> 기본이란 왼쪽으로 계속 움직 이며 속도는 약 4정도로 움직이죠 <br><br> 다시 한번 해볼까요 <br><br> <marquee direction="up" scrollamount="1" bgcolor="skyblue" behavior="slide"> <br><br> 키스의 의미 <br><br> 이마에 하는 Kiss는<br> 우정을 의미하고<br> 감은 눈 위에 하는 입맞춤은<br> 감사의 Kiss <br> 코 끝에 하는 Kiss는<br> 당신에게 행운이 함께 하길빈다는 뜻<br> 볼에 하는 Kiss는<br> 반가움을 뜻하고<br> 입술에 하는 것은<br> 사랑의 Kiss <br><br> behavior="alternate"의 적용<br><br> <marquee direction="left" scrollamount="5" bgcolor="pink" behavior="alternate"> <br><br> 사랑해요 ♬♩♪♩♩♪♬♥~~</marquee> <br><br> width="원하는 크기의 수" 가로의 크기를 지정합니다<br> height="원하는 크기의 수" 높이를 지정합니다<br><br> 가로와 세로의 크기를 이렇게하면<br><br> <marquee direction="left" scrollamount="5" bgcolor="pink" behavior="alternate" width="100" height="30"> 사랑해요 ♥~~</marquee> <br><br> 가로와 세로의 크기를 이렇게고치면<br><br> <marquee direction="left" scrollamount="5" bgcolor="pink" behavior="alternate" width="350" height="100"> 사랑해요 ♥~~</marquee> <br><br> 글자가 지그 재그로 움직이는건 marquee를 이중으로 사용합니다 <br><br> marquee의 2중 사용예 <br> 한번은 상하로 한번은 좌우로 움직이게 합니다 <br><br> <marquee><marquee direction="up" scrollamount="5" behavior="alternate" width="350" height="150"> 사랑해요 ♥~~</marquee></marquee> <br><br> |