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

左右のフレーム>>>上下のフレーム>>> 三画面フレーム>>>四画面フレーム>>>インラインフレーム

四画面フレームページの作り方

最初に四つのページを呼び出すページを作ります。
下のソースで作るといいでしょう。
区切り線を消したい場合は、yesをnoにしてください。

<html>
<head>
<title>タイトルを入れる</title>
</head>
<frameset rows="10%,*,10%" frameborder="yes" border="0">
<frame src="top1.html" name="1">
<frameset cols="15%,85%" frameborder="yes" border="0">
<frame src="top2.html" name="2">
<frame src="top3.html" name="3">
</frameset>
<frame src="top4.html" name="4">
</frameset>
</html>

次にtop1.htmlとtop2.htmlとtop3.htmlとtop4.htmlを作ってください。
作り方は普通のファイルを作るのと、同じ作り方でいいです。

top1.htmlは上に10%表示されて、
top2.htmlが中央の左に15%とtop3.htmlが中央の右に85%表示されます。
top4.htmlが下に10%表示されます。

top3.htmlがメインページになりますので、top2.htmlからリンクするのは、
<a href="○○.html" target="3">文字</a>
top1.htmlからリンクするのも同じです。


スポンサードリンク





玄関に戻るよ