Site icon Search Engine People Blog

Using CSS for SEO purposes

CSS (Cascading Style Sheets) can be useful when optimizing your site for search engines. Some of the more common SEO uses are:

Example of header styles:

H1{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; color: #ff0000; font-weight: bold; display: inline;}

H2{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; color: #0000ff; font-weight: bold; display: inline;}

Note: display: inline allows you to get rid of the large break after a header tag, so you can control how much space you want between it and the next line of text.

Finally, for a good tutorial on learning CSS, check out https://www.w3.org/Style/Examples/011/firstcss.en.html

Using CSS is yet another useful tool in your search engine optimization toolbox.