Commenting on other websites is a great way to get links to your website.
Answer a Question
If you have an article or blog post on your site that answers a question people are asking, do a quick search to find posts that ask the question you are answering. Then write a quick response with a link to the answered question on your website, providing a simple way to have people click the link and visit your site.
Find a Question
Another way to do it is to find a question someone has posted on another website that you want to respond to, then write an article answering it on your website or blog. Leave a comment to the question saying "Find the answer here!" and have it link to your site. It's a great way to drive traffic to your site and get more inbound links.