+ 2
A Brief, Yet Understandable Description of HTML, CSS, JavaScript, PHP, and XML
Note: This IS NOT by me. I'm simply sharing the words of the author who wrote this to answer someone's question on Qoura and I thought it would be helpful. The authors name is Samuel Teuber, and the particular Web page this is found on is... https://www.quora.com/What-are-the-differences-between-HTML-XML-PHP-CSS-and-JavaScript-in-layman-terms
9 Respostas
+ 2
XML
XML is a language you can use to transmit any kind of data to a Webpage from the server or to save data on the server. This data can be interpreted by Javascript or PHP than. - I don't use it in this webpage but itÂŽs simply to exchange and save data, hope this explanation for xml is enough :)
+ 2
@BrightAsTheStars Thank for taking the time to write the explanations, it's a little clearer to me now. Thank you.
+ 1
So we learn: you can create a website by just using HTML but it will be a pretty boring website than, as it just would be text on a white page
+ 1
PHP
Definition:
PHP makes it possible to create pages that changes depending on the data given to php, for example you can show a different page to people from different countries or you can show a different page depending on what was posted recently on the page.
Example:
In the example the login is realized with php, as - after you typed in the email and password it will be sent to the server and checked in a database, if the user exists you will get logged in by php.
+ 1
Javascript
Definition:
Javascript is responsible for everything that has to change or get animated after the website loaded, for example you can create a button that makes text disappear when you click on it, you can nearly do anything with javascript, you even can load more data from the server, that you want to appear on the webpage.
Example:
On this page Javascript is responsible for the appearing of the thumbnails with the stories in the content area and for the sub navigation where you can choose between different categories etc. The stories of the selected category will than be loaded by the javascript.
+ 1
CSS
Definition:
CSS is responsible for the Design of the Webpage, how every thing looks, and where it is on the page.
Example:
Here is CSS Responsible for the text being in a dark grey, the navigation being orange, the text fields having round edges, and all the other stuff that is designed specificly for the website.
+ 1
HTML
Definition:
You use HTML to create the actual content of the page, this means in HTML you define the basic structure and the contents of a website.
Example:
On the example page HTML is responsible for the text written there, and the structure (there is one header block, one navigation block and many content blocks on the bottom)
+ 1
Can you create a complex website with just one?
no
Whats the difference?
here you go...
Now, all these languages are used for different purposes with in the creation of a website...
I will just explain now what each language is for.
For this let's just use a real-life example: my website Chapchop:
[This comment is not made by the author, but a picture goes here. We can't post pictures on SoloLearn so you have to click on the link above to view the picture.]
+ 1
@Martin Cool, glad it could be helpful. But these are not my words though, they're the person's who wrote it on Qoura.