I began playing guitar a little over a year ago. I took a few lessons years ago when I was 13 or so (I'm 24 now), but I am pretty much completely self-taught. I started on an electric guitar, but soon acquired an acoustic. In my experience, I would say that the electric is noticeably easier to play (it's more forgiving and requires less pressure on the strings) but if I could only have one I'd choose the the acoustic. Of course, your mileage may vary depending on the type of strings and guitar you play. Also, if you live in apartment, your neighbors may prefer for you to practice on an electric guitar so you can use a pair of headphones
As for learning to play, I would suggest taking lessons if you are completely new to music. I used to play piano and trumpet, so I knew how to read music and had a good understanding of music theory, which definitely comes in handy.
I found that I learned a lot quicker if I picked a particular song that I liked and practiced until I could play it as opposed to simply learning technique without a song in mind. After learning a few simple and primarily chord songs (You shook me all night long, 3 am, etc.) I simply looked around for songs that featured the techniques I wanted to learn (Thunderstruck for hammer-ons and pull-offs, etc.).
As for resources, I found that between the various tab sites (UltimateGuitar, tTabs, etc.), YouTube, and my album collection, I was able to learn pretty much any song. In fact, I've only purchased one guitar book since I started, and that was for some hard to find Django Reinhardt songs.