Hey, this is kfjjjdst / Bence's guide to learning Php, welcome everyone! (Please note, if you feel that my guide is incomplete or have any questions regards it, please do ask!) Requirements: None Recommended: Notepad++ Internet For anything that is not in my guide, I highly reccomend the usage of: http://w3schools.com/ for further help with HTML codes and such, you may find everything here. If you wish to check for any mistakes or anything, I recommend to use: http://validator.w3.org to check for any mistakes in your codes. Php is the basic programming language used on most websites. The basis of Php is HTML, without knowing how to use or program HTML you will get nowhere in Php, therefore I'll explain you the most basics of HTML. A simple example of a .htm website. Brief explanation: Every .htm(l) file should start with <html> and </html>, this is where the file beins and ends. the <h1> indicates heading, and the 1 indicates the size of the heading (largest). <body bgcolor="FFFF00"> indicates the background colour, the code FFFF00 is the colour yellow, meaning the background of our website will be yellow. <center></center> puts the text inbetween the commands in the middle of the page. <pre></pre> makes the website take the exact look of your document. This means if you do: <pre> 1 2 </pre> it will make the 1 and 2 under each other just like in the notepad, without the <pre> commands it will just give out 1 2 WITH 1 space, nothing else. Another option to bypass this one space trouble, you may use <br></br> meaning breakline. <ul></ul> and <li><li> indicates lists. The <a href="http://www.imageschak.us"> <img src="123.gif><a/>, indicates that there should be a picture called 123.gif and if you click that picture, it will bring you to http://imageshack.us Once you're done, you should end up like this: I suggest you use the pages advised, and you test a lot more, and you should come up with some nice results, best of luck and thank you for reading my guide!
This is the worst guide I've ever seen. There is SO much wrong with this code, it's unbelievable. I don't know why you link to the html/xhtml validator, because your code will never pass. You're using deprecated html tags, and even your urls are wrong! (http:\\ when it should really be http://). Reading your code almost makes me want to cry. You should be using css a lot more. HTML is not the basis PHP either! PHP can be done entirely without HTML. I don't even see any PHP in this guide. This guide is like.. the opposite of a guide. It'll make you dumber instead of teaching you PHP. Seriously.