I want to make a website but i have no idea where to begin to find codes or other websites to study. Is it in a book or online??
for simple web pages you will want to learn : HTML http://www.w3schools.com/htmL & CSS http://www.w3schools.com/css/default.asp Alot of people also use programs to help them code like Dreamweaver, these programs are generally called WYSIWYG (What You See Is What You Get). Once you get used to them they can make things quite simple. I prefer to try and write my own code though and use Notepad++ http://notepad-plus.sourceforge.net/uk/download.php Which doesn't code for you but does help highlight and organise the code. Cadet
You might also want to consider installing "word press" script then every thing else is pretty much plug and play. If you want to change the theme you just uploaded. No coding is involved and there is a good guide on their website on how to install the script ... www.wordpress.com
I'd look at wordpress too. It lets you create the website and focus on the content, rather than the coding. however if learning to program is really the objective then maybe Joomla would be good and get stuck in doing the template and adding to the components and modules.
Although I use Dreamweaver (coder setup), There's a great open source (free) alternative that you may want to dabble with. aptana.com Aptana is a great free HTML editor.