There is difference between blackhat techniques and white hat techniques.
1. Blackhat Techniques : A technique or way to force or cheat search engines that violates their guidelines to rank on the top of the SERPS. For Ex : Keyword stuffing, Link Baiting, Content Duplicacy etc.
2. White Hat Techniques : Technique which follows the search engine guideline to rank on top follow all declared procedures and factors to rank. Like. Good, long and relevant content, no content duplicacy, no link baiting, no cloaking etc.