網頁的本質就是超級文本標記語言,通過結合使用其他的Web技術(如:腳本語言、公共網關接口、組件等),可以創造出功能強大的網頁。因而,超級文本標記語言是萬維網(Web)編程的基礎,也就是說萬維網是建立在超文本基礎之上的。超級文本標記語言之所以稱為超文本標記語言,是因為文本中包含了所謂“超級鏈接”點。 當打開網站源碼我們常常會看到有一行<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)標簽屬性用于設置對象和鏈接目的間的關系,也就是指明你鏈接進來的對象是個什么東西的,具體的值及其所表示的關系如下:
 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. 本小編英文不是太好,通過在線翻譯得到以下內容: 備用:包含鏈接的文件替代版本。 附錄:網頁是為頁面集附錄。 書簽書簽。 第二章:頁面,一個頁面設置章。 內容:內容文件表。 版權所有:當前頁版權聲明。 詞匯表:為當前頁的詞匯。 幫助:幫助文檔。 指數:為當前頁的索引文件。 下一步:在一個序列中的下一個文件。 離線:超鏈接包含路徑的CDF文件可用于脫機收藏夾。 滬指:序列中的前一個文檔。 部分:網頁是一個套節。 快捷:圖標鏈接包含一個圖標文件,可以用于喜愛或鏈接路徑。 啟動:一集的第一個文件。 樣式:樣式表。 分部:網頁是一款為一組頁面。 好了,以上就是有關stylesheet是什么意思的內容,希望對你有所幫助。
網站建設是一個廣義的術語,涵蓋了許多不同的技能和學科中所使用的生產和維護的網站。 |