I learnt HTML coding over the last 2 years mainly, but I have really touched it up over the last year or so, when I joined this place, as I learnt a lot more from other people, their questions and others responses.
Your best bet would be to head over to www.w3schools.com which is the best place to learn HTML, to learn php, head over to like ronald suggested, www.php.net or www.devshed.com which is where I learnt my first bits of php.
Well, my interest in HTML started when I - many years ago - wanted to make this website about a certain celebrity (no, I won't go into details!). I was totally out there, not knowing how to start. In fact, the only person I knew who knew *some* HTML, was my *boss* at work (still is, matter of fact) and he had put together a website for the company I work at (a newspaper). Anyhow, I asked him if he could copy the entire website to me, so that I could check it out and he said "okay".
So there I was, with this company website in front of me and I started by learning all the tags and stuff like that. Ironically, that *almost* same company website is still there even though I have suggested a new version (that I've made) a couple of times already, but he keeps rejecting them! I wonder why?
My first website was, strangely enough, almost an exact replica of the company one but the next one was *totally* my own. In fact, I have my second design on my computer, and OH MY, that's all I can say! Geez!
I can usually teach myself anything pretty good, so thats how I learned HTML. By playing around with stuff and figuring out how stuff worked. And also by asking questions on here and looking at tutorials.
Also while you are learning HTML, it is a necessity that you learn CSS too. www.w3schools.com/css/ is an excellent place to learn. And since you don't know html yet, you should start out by following the XHTML guidelines since it will be easy for ya cuz you don't have any bad habits.
Although PHP isn't my prefered server side language, I tought myself it the same way. And the afore mentioned www.devshed.com website is an excellent source.
Well, I started learning HTML in 2000. I bought an HTML book and just started going through the chapters. HTML is pretty easy, and didn't take long to semi-proficient at it. I've been employed in the internet business ever since -- HTML is part of my daily life now
But I am going to learn PHP for when I shift my pages to a php enabled server. (I need an online database for making bookings etc).
Does PHP take long to learn? I am not a fikko but when I bought a huge HTML book i read it from cover to cover not understanding a single instruction. Then I started to mess about with a wysinwyg editor and suddenly on about day 4, it started to sink in. I got hooked and now spend most of the day learning from you guys and finding other stuff. Squashes the amount of time left for work which would be good except I work for myself.
I dunno what MySql is. Do I need to know it as well as PHP to make a database online?
Well, for the most part, yes. PHP is rarely tied to a DB that isn't MySql. Also much of SQL syntax is the same from server to server (MySql, PostgreSQL, MSSQL) but there are key differences as well. But, most hosts will offer MySql with PHP as the database.
Time? Fortunately, my current full-time position afforded me the time to get up to speed with PHP. For everything else, sleep is usually sacrificed at the altar of my education.
Originally posted by beetle For everything else, sleep is usually sacrificed at the altar of my education.
Amen. I learn stuff at home when I get the chance and I build databases and webpages at work so I get time to learn new stuff there too.
As far as mysql is concerned, depending on your host too they might also provide a GUI for interfacing with the MySQL server, e.g. phpMyAdmin. So you still need to learn SQL but when your starting out, you can use the GUI to construct the database intitally.
I started using NCSA Mosaic and Netscape 2, and later (when I had Win95) also Internet Explorer 2. I used HotDog from editor, and learned the syntax from there. I hadn't an Internet Connection back then. When nn3 and ie3 were both out, I had a modem. I began learning more advanced stuff, like *gasp* forms and tables.
In between I bought one html book that I never put to any use: HTML for Dummies.
In short, I created html documents as documents (like word), not webpages at first, and learned the syntax. Then I began fiddling with webpages. Then I began with dhtml. THEN I really learned html, from the specs.
As for php, I'm still not even considering learning it - there are more interesting languages to learn, and I have limited time, student as I am.
I don't think I ever actually set out to learn web authoring. We needed a website for a charity event and someone remembered that I worked in publishing and was familiar with SGML. So I got volunteered
Since then it's been a case of picking up different aspects and learning different markup as required, usually by using on-line tutorials and then taking advice on which book to buy.
I do generally try to stick with one book on each subject as a learning aid, then add others later as development continues.
Originally posted by DawgieDog A while back I finished the tutorial of HTML in w3schools. So I guess that tutorial in w3schools is all there's to HTML?
You could say that, but experience in using the language is what you really need to understand HTML well, aside from reading on the topic.
Also like said above by my fellow mod, CSS is great to learn/use in conjunction with HTML, so thats worth looking into.
I wouldnt say just because you have read an HTML tutorial, you are ready for PHP.
Mainly because as opposed to HTML, PHP is more of a real programming language and therefor will be alot different.
If you are still in school and there are some classes offering to teach PHP(and the like) thats a great place to begin learning.
Good luck, PHP good choice!
Have you considered any other server side languages?
Moderator:General web building Get out from under them, resist and multiply.
Get out from under precipice and see the sky.
i first wanted to make a site for absolutley no reasonable reason what so ever. when i realised that Word could do this task, i went for it. after asking a friend who was in the know what he thought about it, he said it was rubbish and that i need to learn HTML. that was november 2001. he showed me the basics and then i picked up the rest from tutorials and stuff.
as i used these languages i got better at them and then about 6 months ago i decided that i needed something that was more "interactive" so i learnt some basics of PHP through tutorials mainly... although i really which i had a host with mySQL support from the beginning because now it feels like ive been wasting half a year on flippin text files...
of course... this all make me aware of xml and many other technologies.... yeah.
that is how i learnt html and php. stick at it. yeah, sometimes you might feel like a complete newbie... i did... and still do sometimes... so stick at it. you never know... i might come up with a good design one of these days