SEO優化之DIV+CSS起名稱規則

  搜索引擎網站優化(seo)有眾多辦公要做,那裡面對代碼的優化是一個很關鍵的步驟。為了更加合乎SEO的規范,下邊是到現在為止流行的CSS+DIV的起名稱規則:

  頁頭:header

  登錄條:loginBar

  微記:logo

  側欄:sideBar

  廣告:banner

  導航:nav

  seo子導航:subNav

  點菜單:menu

  子點菜單:subMenu

  搜索:search

  骨碌:scroll

  頁面主體:main

  內部實質意義:content

  標簽頁:tab

  提醒信息:msg

  小技法:tips

  欄目題目:title

  友誼鏈接:friendLink

  頁腳:footer

  參加:joinus

  指南:guild

  服務:service

  熱點:hot

  新聞:news

  下載:download

  注冊:regsiter

  狀況:status

  按鍵:變態n

  投票:vote

  合作火伴:partner

  版權:copyRight

  1.CSSID的起名稱

  外套:wrap

  主導航:mainNav

  子導航:subnav

  頁腳:footer

  整個兒頁面:content

  頁眉:header

  頁腳:footer

  標志:label

  題目:title

  主導航:mainNav(globalNav)

  頂導航:topnav

  邊導航:sidebar

  左導航:leftsideBar

  右導航:rightsideBar

  旗志:logo

  標語:banner

  點菜單內部實質意義1:menu1Content

  點菜單容積:menuContainer

  子點菜單:submenu

  邊導航圖標:sidebarIcon

  注解:note

  面粉和水發酵制成的食品屑:breadCrumb(即頁面所處位置導航提醒)

  器皿:container

  內部實質意義:content

  搜索:search

  登陸:login

  功能區:shop(如購物車,收銀臺)

  現時的current

  2.式樣文件起名稱

  主要的:master.css

  布局版面:layout.css

  專欄:columns.css

  打印式樣:print.css

  正題:themes.css