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>
キャッー (^ω^*))((*^ω^) キャッー


スポンサードリンク





玄関に戻るよ