DEV Community

Heykel Statue
Heykel Statue

Posted on

SEO-friendly / semantic HTML and CSS coding

In my view, when it comes to SEO, the values ​​used for classes, IDs, and the like within the HTML—as part of the CSS design—are also important. Let me illustrate this with an example from a website I built. For a site focused on sculpture production, I chose HTML class names that aligned with the keywords in the domain. For instance, since the domain was "heykel.org," I populated the class="" attributes with the word "heykel" (sculpture). True, this doesn't have a direct impact on SEO. However, over time, it signals that the website code was built from scratch and that the terminology is relevant to the project. Although this specific practice isn't explicitly listed in standard SEO guidelines, I tested it while building two or three sites and achieved positive results. I managed to get my website to rank easily in search results without adding a single backlink. I wanted to share this with you.

Top comments (0)