網頁的本質就是超級文本標記語言,通過結合使用其他的Web技術(如:腳本語言、公共網關接口、組件等),可以創造出功能強大的網頁。因而,超級文本標記語言是萬維網(Web)編程的基礎,也就是說萬維網是建立在超文本基礎之上的。超級文本標記語言之所以稱為超文本標記語言,是因為文本中包含了所謂“超級鏈接”點。 【實例介紹】 表單不支持框架標記noframes 9.3.7不支持框架標記noframes不支持框架標記noframes用來為不能顯示框架的瀏覽器制作內容。因為有一些瀏覽器或者瀏覽設備中并不支持框架元素,將不能正常顯示內容。使用noflames標記,可以使此類瀏覽器中顯示noframes標記中的內容。 【基本語法】 <noframes>替換顯示內容</noframes> 【語法介紹】 在該語法中,<noframes>和</noframes>標記之間的部分就是在不支持框架的瀏覽器中所要顯示的內容。 【實例代碼】
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>設置框架滾動條</title>
</head>
<frameset rows="123,*" cols="*" frameborder="yes" border="1" framespacing="1">
<frame src="top.html" name="topFrame" scrolling="yes"
noresize marginwidth="200" marginheight="100" />
<frameset rows="*" cols="265,*" framespacing="0"
frameborder="yes" border="0">
<frame src="left.html" name="leftFrame" scrolling="yes"
noresize marginwidth="20"marginheight="100"/>
<frame src="right.html" name="rightFrame" scrolling="no" noresize/>
</frameset>
</frameset>
<noframes> <body>此瀏覽器不支持框架結構頁面!</body> </noframes>
</html>
【代碼分析】 在代碼中,加粗部分<noframes>…</noframes>標記的作用為,如果此瀏覽器不支持框架頁面,則顯示此標記中的內容。
網站建設是一個廣義的術語,涵蓋了許多不同的技能和學科中所使用的生產和維護的網站。 |