Several methods including HTML files

Source: Internet
Author: User

This may be the most familiar one.
<IFRAME name = "neepage" width = 100% Height = 30 marginwidth = 0 marginheight = 0 src = "import.htm"> </iframe>
Some of its attributes can achieve some transparency, no scroll bar, and other specific effects. You can refer to the introduction of the HTML language.

2. frameset
This is the framework that everyone is familiar.
Nothing to say. Just look at the relevant HTML.

3. <Object>

<Object type = "text/X-scriptlet" Data = "import.htm" width = 100% Height = 30> </Object>

<Object ID = editbox DATA = "./" width = "100%" Height = 500 type = text/X-scriptlet>

4. Behavior Download Method
<Span id = showimport> </span>
<Ie: Download id = "odownload" style = "behavior: URL (# default # download)"/>
Function ondownloaddone (downdate ){
Showimport. innerhtml = downdate
Odownload.startdownload('import.htm', ondownloaddone)

Is to convert the relevant HTML file into a JS file.
<SCRIPT src = "import. js"> </SCRIPT>
Pay attention to this method.
If you want to include headers and navigate these items, we recommend that you do not use them. This is not conducive to search engine collection.

6. shtml
Use the include shtml file Method

# JavaScript/ajax Columns

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: 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.