View Full Version : question on html or xhtml or whatever

9th December 2005, 06:10 PM
ok i keep reading about xhtml 1.0 and xhtml 2.0 and xhtml 4.0 and xhtml 4.01. my question is are these programms you need to download to make a serious website like koc, or earthlink, or google or any big websites. please send me a pm or just post. but this is a really confusing issue i would like your help on.

9th December 2005, 06:42 PM
Well if you really have NO idea what xhtml is then maybe reading the Wikipedia entry (http://en.wikipedia.org/wiki/XHTML) on the topic is a good place to start. It will give you an overview. xhtml isn't a program you download, instead it's a language that you program in.

If you are interested in a tutorial on xhtml check this link (http://www.w3schools.com/xhtml/default.asp) out.

9th December 2005, 06:58 PM
ok thanks i will look into them.

9th December 2005, 07:31 PM
You don't need to download any big programs to make a website. All you need is a text editor like notepad, a browser (Like Firefox, etc) and a tutorial to learn the html from. Learn xhtml 1.0 . XHTML 2 is still only a working draft as far as I know. If you only wanted to make basic static websites all you need to know is XHTML and CSS. But I recommend that you download a decent text editor that has helpfull features like syntax highlighting. I use a free one called PSPad for some stuff like Perl and PHP but I use an XML editor called XMLSpy for HTML stuff.

Stuff like koc and all the rest you mentioned needs a server side programming aswell though. KOC uses PHP which is quite popular these days. There's other languages are used for it too like ASP, Java, Perl, etc. I'd advise you to stay away from ASP because good cheap hosting for it isn't easy to find...and it's from microsoft.

P.S You can run PHP, Perl etc on your own computer but you'll need to download some things. You'll need a HTTP server (I recommend Apache http://httpd.apache.org/) and the interpreter programs for the language you want (php or w/e). They're all free though so it won't cost you anything.

10th December 2005, 04:08 AM
Remember it like this. html was the first proper web language. Xhtml is html remade in a stricter form. If you make mistakes your page won't work, where as with html if you mess up the chances are that your page will still load fine.

html 4.01 and xhtml 2.0 are used to make a website look nice, it puts the content on the page. It inserts pictures and text. Thats about the limit of html and xhtml.

To make a site like koc you need database programing like php and mysql/asp and sql.

I suggest that if you are wanting to get into web programming you learn html from w3schools.com. Once you have made your first webiste. (its not very hard) Then you can go on to something a little harder, be it javascript or CSS. CSS will make your website look a lot better and javascript will add more functionality.

After that you can learn what you want, be it php or asp. These 2 are what you really need to make a koc game. And for these i suggest you either do a short course or buy a book.

10th December 2005, 03:54 PM
ok i will think over these whith my friends and i have gone into every tutorial mention on the w3schools website and made copyies of all the data in them. so if i wanted to make a big site like koc i will need a side-server. thanks alot folks. but also notepad will do fine to get a small site up and running.

19th December 2005, 05:54 PM
W3schools is ok, but there is something not right about learning good coding from a site that uses tables for their layout. Some people you will find are opposed to serving xHTML as text/html as that was not it's purpose, but that is it's most common use. xHTML Strict in my opinion is better than HTML 4.01 Strict, but for some reason some people belive than since it was made for text/xml (not advised as IE will not render it anywhere near correctly) it cannot be used served as text/html. Don't be put off by that, make your own choices.

As far as editors go, the best ones (as ManxTT said) are basic text editors with syntax highlighting. For this I recommend Notepad 2 (http://www.flos-freeware.ch/notepad2.html) and Notepad++ (http://sourceforge.net/projects/notepad-plus/). Both free effective editors. WYSIWYG editors are VERY bad for generating code. They produce a mess of code that is not worthy of a barbie fansite.

As to what you should learn, (x)HTML and CSS are the best starting points, as the markup builds the structure. If you learn HTML, then CSS is a must. Those who code HTML without CSS, you are fools, I apologise, but using tables for non-tabular information is just stupid. Positioned <div>s and other elements like <h1> etc used in a Semantic and Valid fashion is the only right way to code in my opinion.

Moving into dynamic sites I recommend PHP and MySQL, it provides an excellent preprocessing language with the excellent SQL database system. All CMSs (Content Management Systems) you come across will be in PHP or another preprocessing language. It is therefore an excellent and worthwhile thing to learn. It is also a good choice if you have any experience with C++ as it was made by the same developers and therefore uses much of the same functions and syntax.

Silver lady
8th March 2006, 11:55 AM
a good starting point is a book I found handy, 'HTML complete' as it cover xhtml as well, it's written by sybex, and is full of nearly all the things you need to write your own web site pages. it is also web based take a look here! (http://www.sybex.com) mind you there are so many tutorials online as well, just take it easy and if you can learn xhtml all well and good, as it does teach you to 'nest' properly, and even if you revert to html it stands you in good stead.