The main page to finish today is index.html
First on the effect chart:
Description: 1. The middle is a SWF animation. Import as follows:
<embed src= "images/index.swf" type= "width=" 712px "height=" 428px ">
2. There is a enter link jump page below, which is white (because the default link is blue). In the body with link tag decorated.
Here's a little bit about the link tag:
<body link= "Color" >
It works on all elements that are not individually set in the Web page.
<body alink= "Color" >
Use ALink to set the color of the mouse when you click a hyperlink
<body vlink= "Color" >
Use Vlink to set the color of the hyperlink text you have visited
Final code implementation:
<body link= "White" alink= "#0066ff" vlink= "#ff0000" >
3. The bottom is also a picture, the code is written in the CSS file, as follows:
The following path explains:.. /is go to the previous directory. The path is shown below:
Background:url (".. /images/copyright.jpg ") No-repeat;
Here's the code.
First index.html Code
INDEX.CSS Code
*{
margin:0px;
padding:0px;
}
body{
Background:url (".. /images/bg.jpg ") Repeat
. swf {
position:absolute;
left:50%;
top:50%;
Margin-left: -356px;
Margin-top: -215px
}
. Enter {
width:100%;
font-size:18px;
Text-align:center;
color:red;
Font-weight:bold;
Text-decoration:underline;
margin-top:8px
}
. end{
width:574px;
height:70px;
Background:url (".. /images/copyright.jpg ") no-repeat;
margin:0 Auto;
}
Finish things.
If you also want to manually tap the code, you can click to download the index home page of the compression package
Bye. さよなら ...