Bonjour,
Voici une des recommendation du W3C :
Source : http://www.w3.org/QA/Tips/goodclassnames
Avez vous testé l'impact d'un bon de cette recommendation de programmation sur le référencement de vos sites ?
Voici une des recommendation du W3C :
Good names
warning, important, downloadableImage and submenu are all good names. They describe what a certain element represents, and they are not likely to change. A warning will always remain a warning, no matter how much the look of the page changes.
Bad names
border4px, lighttext and prettybackground are examples of bad names. You might fatten that border to a whopping 5 pixels, or the background may look pretty old after a while, and not pretty at all. An advantage of using CSS is that you won't have to change much in order to change the looks of your website. If you have to change all light text into dark text, and thus change all classes lighttext to darktext in all your HTML pages, you're likely to miss a few.
Source : http://www.w3.org/QA/Tips/goodclassnames
Avez vous testé l'impact d'un bon de cette recommendation de programmation sur le référencement de vos sites ?