What are some good guitar books for someone who wants to learn how to play guitar?

I’ve found some lessons online, but the problem with online lessons is you can’t carry them around like a book, unless you print the lessons out, and even this can be cumbersome. I’m looking for a good beginers guitar book, preferrably for someone who has never picked up an instrument and for someone on the intermediate level.