What is the difference between blackhat seo and whitehat seo ?

When we say Blackhat SEO, it's an unethical way of optimizing a site which involves using spam techniques such as hidden text, keyword stuffing, door way pages, link farm etc.


On the other hand, Whitehat SEO is following the quality guidelines of search engines for optimizing a website.