您現(xiàn)在的位置: Language Tips> Easy English> Odd Question  
       
     





     
    網(wǎng)頁htm, html, asp是什么意思
    [ 2008-09-10 11:53 ]

    上網(wǎng)已經(jīng)成為我們生活的一部分。我們打開網(wǎng)頁,會發(fā)現(xiàn)地址欄里都是以http開頭的,結(jié)尾卻各不相同,有htm,html,asp,pl,等等等等。這些都是網(wǎng)頁的“擴展名”。那么它們都代表什么意思呢?下文就來告訴你。

    網(wǎng)頁htm, html, asp是什么意思

    You can see some of the most common extensions on these URLs:

    http://www.howstuffworks.com/question-archive.htm - The question archive page (and nearly all other pages) at HowStuffWorks ends in htm.

    http://www.adobe.com/products/acrobat/readermain.html - The home page for Adobe Reader ends in html.

    http://www.cbsnews.com/sections/home/main100.shtml - The home page for the CBS news in shtml.

    http://www.microsoft.com/catalog/default.asp - Many pages on Microsoft's site end in asp.

    http://www.altavista.pl/ - The home page for the AltaVista search engine ends in pl.

    http://www.howstuffworks.com/cgi-bin/suggest.cgi - The code that processes suggestions at HowStuffWorks ends in cgi.

    http://www.howstuffworks.com/survey-add.php - The HowStuffWorks daily survey results page ends in php.

    When the Web started, it ran almost exclusively on UNIX machines and all pages were static. Html was the standard file extension(擴展名). When people started using PCs running DOS or Windows as Web servers, however, the four letters in "html" were problematic. PCs followed an 8.3 naming convention that allowed only three letters in the extension. So the world made room for two standard extensions: html and htm. It used to be that you could tell whether a Web site was running on UNIX or Windows by looking at the file extension, but now there is no distinction. HowStuffWorks runs off a UNIX server but uses "htm" as its extension -- it's the webmaster's choice.

    Pages tagged with shtml reveal that "Server Side Includes(服務(wù)器端包含)" are being used on the server(服務(wù)器). Htm and Html pages are static. The file is lifted off the server's disk and sent verbatim to the client. With SSI, a page can contain tags(標(biāo)記) indicating that another file should be inserted in place of the tag in the existing page. So a page is lifted off the server's disk and the server makes all the substitutions indicated. Then it sends the final page to the client. This approach makes it very easy to change things like headers and footers on pages across an entire site.

    Active Server Pages (asp動態(tài)伺服器網(wǎng)頁) is a Microsoft technology that allows even more flexibility. A Web page can contain Visual Basic code that the server executes when it lifts a page off the disk. This code can do just about anything -- read databases, run other programs, custom format pages based on the user's ID, etc. You have a great deal of flexibility. On the other hand, your Web pages now contain code that may have bugs in it, so it is possible for a page to "crash." With freedom comes responsibility...

    (Note that is now becoming common to see jsp and php extensions as well. Jsp is one of the latest additions to the Java Enterprise suite of APIs. "Jsp" stands for "Java Server Pages" and is effectively Java's response to ASP. The code embedded in a page is Java rather than Visual Basic. "Php" used to stand for "Personal Home Page," but now it's really just "PHP (Hypertext Preprocessor, 一種在電腦上執(zhí)行的腳本語言)," which is a scripting language that's mostly used with Linux.)

    The pl extension stands for PERL, a scripting language. The page contains nothing but PERL script, and the script builds the page on the fly. The script can also do anything as in asp pages.

    The cgi extension also means that a page contains code executed by the server, but the type of code can be just about anything.

    (來源:howstuffworks.com  英語點津 Annabel 編輯)

    我要了解更多趣味百科知識

     
    英語點津版權(quán)說明:凡注明來源為“英語點津:XXX(署名)”的原創(chuàng)作品,除與中國日報網(wǎng)簽署英語點津內(nèi)容授權(quán)協(xié)議的網(wǎng)站外,其他任何網(wǎng)站或單位未經(jīng)允許不得非法盜鏈、轉(zhuǎn)載和使用,違者必究。如需使用,請與010-84883631聯(lián)系;凡本網(wǎng)注明“來源:XXX(非英語點津)”的作品,均轉(zhuǎn)載自其它媒體,目的在于傳播更多信息,其他媒體如需轉(zhuǎn)載,請與稿件來源方聯(lián)系,如產(chǎn)生任何問題與本網(wǎng)無關(guān);本網(wǎng)所發(fā)布的歌曲、電影片段,版權(quán)歸原作者所有,僅供學(xué)習(xí)與研究,如果侵權(quán),請?zhí)峁┌鏅?quán)證明,以便盡快刪除。
    相關(guān)文章 Related Story
     
     
     
    本頻道最新推薦
     
    Walking in the US first lady's shoes
    “準(zhǔn)確無誤”如何表達
    英國新晉超女蘇珊大媽改頭換面
    豬流感 swine flu
    你有l(wèi)ottery mentality嗎
    翻吧推薦
     
    論壇熱貼
     
    別亂扔垃圾。怎么譯這個亂字呀?
    橘子,橙子用英文怎么區(qū)分?
    看Gossip Girl學(xué)英語
    端午節(jié)怎么翻譯?
    母親,您在天堂還好嗎?

     

    中文字幕无码不卡免费视频 | 五月天中文字幕mv在线| 免费看无码特级毛片| 亚洲Av无码乱码在线观看性色| 丰满日韩放荡少妇无码视频| 中文无码字慕在线观看| 久久Av无码精品人妻系列| 五月天中文字幕mv在线女婷婷五月| 国产精品无码素人福利| 亚洲人成影院在线无码按摩店| 最近2022中文字幕免费视频| 亚洲精品97久久中文字幕无码 | 中文字幕精品无码一区二区 | 最好看的2018中文在线观看| 无码人妻精品一区二区蜜桃网站 | 亚洲中文字幕无码一久久区| 国产AV无码专区亚洲Av| 亚洲欧洲自拍拍偷午夜色无码| 最近中文字幕精彩视频| 中文有码vs无码人妻| 无码国模国产在线无码精品国产自在久国产 | 东京热加勒比无码少妇| 亚洲国产精品无码久久久秋霞2 | 在线中文字幕精品第5页| 久久精品aⅴ无码中文字字幕不卡| 国产麻豆天美果冻无码视频| 久久精品无码专区免费青青 | 潮喷大喷水系列无码久久精品| 亚洲人成无码网站| 亚洲AV无码不卡无码| 亚洲中文久久精品无码| 久久亚洲日韩看片无码| 在线欧美天码中文字幕| 中文字幕日韩人妻不卡一区| 精品久久久无码中文字幕天天| 公和熄小婷乱中文字幕| 国产中文字幕在线免费观看| 人妻无码中文字幕免费视频蜜桃| 中文字幕在线免费观看| 中文成人无码精品久久久不卡| 国产亚洲美日韩AV中文字幕无码成人|