+ 7
Difference between css html and php
php css difference
4 Answers
+ 10
The Difference Between CSS, HTML and PHP
CSS = Style: Cascading Style Sheets (CSS) dictate your websiteâs look and feel.
Font size, font color, font type, styling around images, page layout, mouse-over effects and more are all determined by CSS.
In WordPress, CSS can be edited within the âEditorâ section under Appearance in the Dashboard. Some WordPress themes, like Headway, allow you to visually edit the CSS (meaning you donât need to get eyeball headaches from coding).
The colors, fonts and styles of this entire website are driven by CSS.
HTML = Content: HyperText Markup Language (HTML) is the building-blocks of web pages.
HTML allows you to put images, text, videos, forms and other pieces of content together into a cohesive webpage. You can also tweak text words, resize images, and add links to either.
Anything that you can read or view on this website is being presented to you (by way of a browser) with HTML.
PHP = Functionality: Originally meaning âPersonal Home Pageâ, PHP is what makes your website do stuff (I really canât say it any better than that).
Itâs a language of web applications like WordPress plugins, Donation widgets and other things that do stuff.
If you use the search box at the top of the screen, PHP will perform the functions that need to be done to give you the search results.
+ 3
HTML is used to construct the page (header, footer, images, menu ..)
CSS is used to decorate the HTML pages (change header background color, change the font size of the menu, resize the images ...)
PHP is used to add functualities (get today's date, insert and gather data to/from database, creating and modifying files, and many more)
+ 1
You should keep in mind the following mapping:
Front end (i.e. what the user sees)
HTML -> Web Page Content
CSS -> Web Page Style
JavaScript -> Web Page Behaviour
Back end (i.e. what the server does)
PhP (or Python, Java etc.) -> Server Behaviour
+ 1
css and html is a part of front-end and php is a backend.