| 網(wǎng)頁的本質(zhì)就是超級文本標(biāo)記語言,通過結(jié)合使用其他的Web技術(shù)(如:腳本語言、公共網(wǎng)關(guān)接口、組件等),可以創(chuàng)造出功能強大的網(wǎng)頁。因而,超級文本標(biāo)記語言是萬維網(wǎng)(Web)編程的基礎(chǔ),也就是說萬維網(wǎng)是建立在超文本基礎(chǔ)之上的。超級文本標(biāo)記語言之所以稱為超文本標(biāo)記語言,是因為文本中包含了所謂“超級鏈接”點。 當(dāng)打開網(wǎng)站源碼我們常常會看到有一行<link href="css/style.css" rel="stylesheet" type="text/css">這樣的代碼,有很多小伙伴會問這代碼中的stylesheet是什么意思。 stylesheet英文翻譯為樣式表,不錯這條代碼的作用就是告訴瀏覽器需要引用外部樣式表文件為那個,例如:<link href="css/xue51_com_style.css" rel="stylesheet" type="text/css">,意思就是引用css文件夾下面的xue51_com_style.css這個樣式文件,其中rel(relation)標(biāo)簽屬性用于設(shè)置對象和鏈接目的間的關(guān)系,也就是指明你鏈接進來的對象是個什么東西的,具體的值及其所表示的關(guān)系如下:
 Alternate:Substitute version of the file that contains the link. Appendix:Page that is an appendix for the set of pages. Bookmark:Bookmark. Chapter:Page that is a chapter for a set of pages. Contents:Table of contents document. Copyright:Copyright notice for the current page. Glossary:Glossary for the current page. Help:Help document. Index:Index document for the current page. Next:Next document in a sequence. Offline:href that contains a path to the CDF file to be used for an offline favorite. Prev:Previous document in a sequence. Section:Page that is a section for a set of pages. Shortcut:Icon href that contains a path to an icon file to be used for the favorite or link. Start:First document of a set. Stylesheet:Style sheet. Subsection:Page that is a subsection for a set of pages. 本小編英文不是太好,通過在線翻譯得到以下內(nèi)容: 備用:包含鏈接的文件替代版本。 附錄:網(wǎng)頁是為頁面集附錄。 書簽書簽。 第二章:頁面,一個頁面設(shè)置章。 內(nèi)容:內(nèi)容文件表。 版權(quán)所有:當(dāng)前頁版權(quán)聲明。 詞匯表:為當(dāng)前頁的詞匯。 幫助:幫助文檔。 指數(shù):為當(dāng)前頁的索引文件。 下一步:在一個序列中的下一個文件。 離線:超鏈接包含路徑的CDF文件可用于脫機收藏夾。 滬指:序列中的前一個文檔。 部分:網(wǎng)頁是一個套節(jié)。 快捷:圖標(biāo)鏈接包含一個圖標(biāo)文件,可以用于喜愛或鏈接路徑。 啟動:一集的第一個文件。 樣式:樣式表。 分部:網(wǎng)頁是一款為一組頁面。 好了,以上就是有關(guān)stylesheet是什么意思的內(nèi)容,希望對你有所幫助。
網(wǎng)站建設(shè)是一個廣義的術(shù)語,涵蓋了許多不同的技能和學(xué)科中所使用的生產(chǎn)和維護的網(wǎng)站。 |