HTMLファイルを作ってみよう

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
<title>HPのタイトルを入れます</title>
</head>
<body>

この場所が、表示される画像または文字のソースを入れる部分です。

</body>
</html>

文字、画像を動かす

<marquee>o(^^ )o--------⊆^U)┬┬~... </marquee>
o(^^ )o--------⊆^U)┬┬~...

<marquee><IMG SRC="画像アドレス" BORDER="0"></marquee>

widthで横幅を設定し、scrollamountで動く早さを設定します
<marquee width=50% scrollamount=3>o(=・ェ・=o)=3=3=3=3=3=3</marquee>
o(=・ェ・=o)=3=3=3=3=3=3
<marquee width=70% scrollamount=10>o(=・ェ・=o)=3=3=3=3=3=3</marquee>
o(=・ェ・=o)=3=3=3=3=3=3

<marquee width=50% scrollamount=10><IMG SRC="画像アドレス" BORDER="0"></marquee>

direction=rightで、左から右に動きます
<marquee direction=right width=50% scrollamount=10>C= C= \(;・_・)/ </marquee>
C= C= \(;・_・)/

<marquee direction=right width=100% scrollamount=5><IMG SRC="画像アドレス" BORDER="0"></marquee>

behavior=slideで、文字を最後に止めることができます
<marquee behavior=slide width=50% scrollamount=1>びゃははは (≧ω≦)b</marquee>
びゃははは (≧ω≦)b

<marquee behavior=slide width=50% scrollamount=1><IMG SRC="画像アドレス" BORDER="0"></marquee>

behavior=alternateで、文字を左右に動かします/画像も同じです
width=(動く範囲の横幅指定)scrollamount=(動く早さの指定)
<marquee behavior=alternate width=50% scrollamount=10>キャッー (^ω^*))((*^ω^) キャッー</marquee>
キャッー (^ω^*))((*^ω^) キャッー


スポンサーリンク





玄関に戻るよ