Tutorial The Difference Between Css, Html And Php

jowjow

Well-Known Member
I will try to explain here what's the difference between HTML, CSS and PHP in a very simple manner.

CSS is mostly what the website will look like. Or simply put the Style of the website, such as font types, font colors, page layout, effects. If you are using Wordpress as your content management system (CMS) you can edit CSS in "Editor" section located in the Dashboard.

HTML (HyperText Markup Language) is the building blocks of the website. HTML is the content of your page such as text, images, videos forms and many more.

PHP in simple term is the controller of your website. It focuses on the functions that your website can do.
 

steve taylor

White Belt
HTML stand for Hypertext Markup Language .It is used for developing web pages . With the help of HTML we can develop static webpage only .(static means no real time action performed on the webpage ,content of the webpage remains constant) .For dynamic web page e can use Java script ,Jquery languages .

CSS stand for Cascading Style Sheet (It is used for web page decoration) .One of the advantage of using CSS its make the changes universal .
It is also known as external style sheet.

PHP (Formerly known as preprocessor Hypertext ) It is a scripting language that runs on server side to empower dynamic websites
 

Inheritx Solutions

Well-Known Member
HTML (HyperText Markup Language) - You can create a complete website knowing just this, however, it'll look like those 90s websites with blue links. It's there to create a basic structure for a website and it's impossible (as far as I know) to make any website/webpage without using HTML.

CSS (Cascading Style Sheets) - This is what makes your websites beautiful and modern looking. It's just for all the visual effects and with new version simple animation too.

PHP (Personal Home Page) - It's also a programming language, but it doesn't run on your browser. It runs on the web server. When you request a web page by putting the URL in your browser or opening its link, the web server accepts the request, take the HTML page, run the associated PHP script in it, convert the result obtained from PHP to HTML and then return it to your browser. In the browser, all CSS and JavaScript runs. PHP is generally used for getting and putting data to/from the database (mostly MySQL). It runs on Linux based servers.

Inheritx Solutions | Mobile App Development Company | Web Applications Development Company
 

RH-Calvin

Red Belt
A cascading style sheet (CSS) is a Web page derived from multiple sources with a defined order of precedence where the definitions of any style element conflict.

HTML or Hypertext Markup Language, a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages.

PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language.
 
HTML: It contains the set of all the text and media files(images, videos) that you see on a website. Kept alone, it is boring to look at or deal with.

CSS: The designer. Places the boring HTML set in a beautiful format.

PHP: The logic maker. It decides what to present to the HTML to show to you. Works behind the scene.
 
Top