as a basis, I studied web design begins with HTML and CSS, w3School is a good place to start other than that I also read an e-book on HTML and CSS for beginners. I am using default text editor to write the code because I'm not a fan of the WYSIWYG editor.
I had a friend who worked web design and who persuaded me to create my own website that I was planning on my own. I got hooked and even set it up from my IP address using wamp server. I used w3schools and stackoverflow a lot (still do) and youtube is always helpful. Most important thing is to check the date of whatever you are reading: if it's more than a year old, it could well be out of date!