In this article, we are going to address the basics of writing a hook and the different types of hooks. 2. How to Write a Hook? The opening lines of an essay is your hook, which acts as an attention grabber. When writing a hook, remember that it is part of your essay introduction, it isn't written to replace the introduction itself.