This article describes the configuration usage of the include in HTML, so that the HTML file can also implement the include feature, and now let's take a look at this article about HTML include.
Let's start by introducing what the include tag is in
How do I include one HTML file inside another?
It's very common practice to have a consistent on a Web site. You might have a standard navigation bar or a logos or even just a page footer with copyright and administrative informatio N. Rather than
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
Include is a summary of many PHP files, usually placed in the outermost part of the folder.
Header ("Content-type:text/html;charset=utf-8"); // Set character date_default_timezone_set ("PRC"); // set the time zone for China Session_Start (); /
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
Require ()
The Require () statement includes and runs the specified file.
The Require () statement includes and runs the specified file. For more information about how to work, see the documentation for include ().
Require () and include () are
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.