對WEB標準以及W3C的理解與認識

來源:互聯網
上載者:User

標籤: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的理解與認識

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.