There are many tasks to be done in search engine optimization (SEO), among which code optimization is a critical step. In order to better meet SEO standards, The following are the currently popular CSS+DIV naming rules: Header:header Login Bar: loginBar Logo: Sidebar: sideBar Advertisement: banner Navigation: nav Sub-navigation: subNav Menu:menu Submenu: subMenu Search:search Scroll: scroll Page body:main Content: content/container/box Tab:tab Article list:list Prompt message: msg Tips: Column title: title Join: joinus Guide:guild Service: Hot spot:hot News: news Download:download Registration: regsiter Status: status Button:btn Vote:vote Friend Link: Footer:footer Partner:partner Copyright:copyRight CSSID naming coat: wrap Main navigation: mainNav Sub-navigation: subnav Header:header Footer:footer The entire page:main Trademark: label Title: title Main navigation: mainNav(globalNav) Top navigation: topnav Side navigation: sidebar Left navigation: leftsideBar Right navigation: rightsideBar Flag:logo Slogan: banner Menu content 1:menu1Content Menu capacity: menuContainer Container: container/box Content: Submenu:submenu Sidebar Icon: sidebaricon Note: Search:search Login: login Functional area: shop (such as shopping cart, cashier) current BreadCrumbs: breadCrumb (i.e. navigation hint of the page location) The main style file name is: master.css Layout: layout.css Columns: columns.css Text: font.css Print style: print.css Themes:themes.css Common: common.css/public |
<<: How to use Nginx to carry rtmp live server
>>: Example code for changing the style of other tags by hovering the mouse using CSS
Provide login and obtain user information data in...
Table of contents Preface 1. Brief Analysis of th...
I had always wanted to learn Kubernetes because i...
Introduction to jQuery The jQuery library can be ...
Table of contents Docker container data volume Us...
In fact, this is also a clickbait title, and it c...
This article shares a blinds special effect imple...
I recently started learning Linux. After reading ...
From the tomcat configuration file, we can see th...
As we all know, without the cd command, we cannot...
Hello everyone, today I will share with you the W...
As we all know, mailto is a very practical HTML ta...
1. Introduction to Flex Layout Flex is the abbrev...
Get the current date + time (date + time) functio...
1. Force no line break and end with an ellipsis. C...