zoukankan      html  css  js  c++  java
  • include virtual & File

    The Virtual Keyword

    Use the virtual keyword to indicate a path beginning with a virtual directory.

    If a file named "header.inc" resides in a virtual directory named /html, the following line would insert the contents of "header.inc":

    <!-- #include virtual ="/html/header.inc" -->

    The File Keyword

    Use the file keyword to indicate a relative path. A relative path begins with the directory that contains the including file.

    If you have a file in the html directory, and the file "header.inc" resides in html\headers, the following line would insert "header.inc" in your file:

    <!-- #include file ="headers\header.inc" -->

    Note that the path to the included file (headers\header.inc) is relative to the including file. If the file containing this #include statement is not in the html directory, the statement will not work.


  • 相关阅读:
    C/C++的64为长整型数的表示
    二分图带权匹配 KM算法与费用流模型建立
    常见的排序算法比较及总结
    个人联系方式
    (1) linux 3.x
    (4) linux 3.x
    (3) linux 3.x
    (2) linux 3.x
    (1) linux 3.x
    (3) linux 3.x
  • 原文地址:https://www.cnblogs.com/netwenchao/p/1420272.html
Copyright © 2011-2022 走看看