標籤:details word 網頁 noi web 檔案 搜尋引擎 article name
在寫代碼的時候應該注意:
1.標籤閉合
2.標籤小寫
3.不能隨意嵌套
提高被搜尋引擎搜到幾率:
mate中的name變數【其中keywords和description尤其重要】
Meta name=”Kyewords”Lang=”EN”Content=”vacation,greece,sunshine”
Meta name=”Description” Content=”你網頁的簡述”
Meta name=”Robots” Content=”All|None|Index|Noindex|Follow|Nofollow”
[ all:檔案將被檢索,且頁面上的連結可以被查詢;
none:檔案將不被檢索,且頁面上的連結不可以被查詢;(和 “noindex, no follow” 起相同作用)
index:檔案將被檢索;(讓robot/spider登入)
follow:頁面上的連結可以被查詢;
noindex:檔案將不被檢索,但頁面上的連結可以被查詢;(不讓robot/spider登入)
nofollow:檔案將不被檢索,頁面上的連結可以被查詢。(不讓robot/spider順著此頁的串連往下探找)]
Meta name=”Author” Content=”張三,[email protected]”
Meta name=”Copyright” Content=”本頁著作權歸Zerospace所有。All Rights Reserved”
Meta name=”Generator” Content=”PCDATA|FrontPage|”
META name=”revisit-after” CONTENT=”7 days”
提高網頁載入速度
1.把JavaScript和css寫到外部文檔
2.去掉不必要的空格和注釋
3.盡量不使用table布局,盡量使用不嵌套的table布局
4.指定映像和table的大小
5.盡量不要使用映像來代替文本(比如在導覽列)
6.延遲指令碼載入,將指令碼放在頁面底部
7.盡量使用png格式的映像
8.檢查丟失的檔案和映像
本文轉自:http://blog.csdn.net/yoany/article/details/46679385
對WEB標準以及W3C的理解與認識