View Full Version : Website coding?
Thomas
19-09-2011, 03:01 PM
I've never understood which languages are needed to code a website?
php, html, css + xhtml, javascript
I know all those can be used for website coding but what do each of those languages do for the website?
Also which ones do i have to know for website coding?
dbgtz
19-09-2011, 05:02 PM
I've never understood which languages are needed to code a website?
php, html, css + xhtml, javascript
I know all those can be used for website coding but what do each of those languages do for the website?
Also which ones do i have to know for website coding?
AFAIK, xhtml is the same as html for the most part which defines objects, which css then styles objects (placement, text colours etc). PHP can be used for logins etc, databases basically. Javascript can do flashy things (not sure how to describe that better) but there's also some things which can make editing sites easier, like for example adding a basic line of code (such as an image code) but then also being able to replicate that in the indicated html file by adding the file name only which removes clutter from the html file. I'm no "leet" coder, but that's how I would put it. To make a core basic site, you will need html then css, then php/javascript. I also think javascript may be able to do a lot of what php can, but don't quote me on that.
Thomas
19-09-2011, 05:30 PM
AFAIK, xhtml is the same as html for the most part which defines objects, which css then styles objects (placement, text colours etc). PHP can be used for logins etc, databases basically. Javascript can do flashy things (not sure how to describe that better) but there's also some things which can make editing sites easier, like for example adding a basic line of code (such as an image code) but then also being able to replicate that in the indicated html file by adding the file name only which removes clutter from the html file. I'm no "leet" coder, but that's how I would put it. To make a core basic site, you will need html then css, then php/javascript. I also think javascript may be able to do a lot of what php can, but don't quote me on that.
Is it better to use xhtml with css? Rather then html? or is there no major difference at all?
Also is dreamweaver CS5 the best to code on?
dbgtz
19-09-2011, 07:24 PM
Is it better to use xhtml with css? Rather then html? or is there no major difference at all?
Also is dreamweaver CS5 the best to code on?
Well after a quick google xhtml is just a cleaner version of html so basically you can't make errors of any kind and get away with it, by the looks of it which will obviously be much better as it will teach you to end tags etc. So really no huge difference I imagine. Also I find anything which uses some sort of colours to be useful as it can help show errors and faults, but from experience I have not used dreamweaver properly as the only time was in school and I was forced to use the design method.
Difference between xhtml and html:
html:
<br>
xhtml
<br />
it's tidy code.
you only need xhtml and css because with the way css is developing javascript will become obsolete.
Thomas
19-09-2011, 07:54 PM
Well after a quick google xhtml is just a cleaner version of html so basically you can't make errors of any kind and get away with it, by the looks of it which will obviously be much better as it will teach you to end tags etc. So really no huge difference I imagine. Also I find anything which uses some sort of colours to be useful as it can help show errors and faults, but from experience I have not used dreamweaver properly as the only time was in school and I was forced to use the design method.
nvm, found the best alternative, TextWrangler.
Difference between xhtml and html:
html:
<br>
xhtml
<br />
it's tidy code.
you only need xhtml and css because with the way css is developing javascript will become obsolete.
Ok, i think i'll use xhtml :)
everyone should use xhtml, those who don't do not deserve to tamper with the internet.
RyanDOT
21-09-2011, 08:38 PM
xHTML and CSS
CuboidMango
22-09-2011, 05:59 PM
xHTML & CSS, is the way to go! Once you get the hang of it, look into HTML5 and CSS3, since that's the way the interwebs are developing,
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.