A large website has many pages. If every copyright information is directly written below, you need to find every page for modification in the future, which is easy to forget and make mistakes.
The following describes a convenient method: a static webpage is nested under a website, so you only need to modify the static page, so the copyright information has changed.
First, add the foot.html page under your website.
Copy codeThe Code is as follows:
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Title> </title>
</Head>
<Body>
<Div style = "text-align: center;">
This website is copyrighted, @ 201211. This is a sneak-in static webpage as a website description. You only need to insert a piece of code on other pages of the website!
</Div>
</Body>
</Html>
Make the following calls on the website page,
Copy codeThe Code is as follows:
<! -- # Include virtual = "foot.html" -->
Effect: