Life Lei Dog thinkphp Project----corporate website 20 website front and tail separation

Source: Internet
Author: User

Our website allows him to detach directly from the tail:

Then find this code with the header ID in the code:

Then the entire div content is given out, and then in the view to create a public directory, and then create a header.html file, the code is directly put in it ...

Then we will go to the index.html page of our homepage with TP for the label we have prepared for her to be introduced:

Then we go back to the browser and test the following to see that the test has been successful:

Life Lei Dog thinkphp Project----corporate website 20 website front and tail separation

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.