Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. They tell us *how*, *when*, *where*, or *to what extent* something is done.
* In this sentence, "how" modifies the verb "know". It tells us *how* the speaker knows – in this case, they know *how to write*.
Let me know if you have any other questions!