+ 6
What is the difference between PHP and HTML? I am beginner
15 Antworten
+ 20
Hi,
HTML is a markup language (HyperText Markup Language) which is used to set up the structure of the webpage (div, lists, navigation, form)
PHP is used for building dynamic web applications. For example PHP is used for WordPress or other CMS Systems.
So HTML is for Front-end (What the user see) and PHP is for Back-End (What the user does not see)
+ 8
HTML is used to make static webpages. It does not contain logic or the programming part.
Imaging a calculator with no programming at all but there are buttons and the display screen only. The interfaces can be designed by HTML and CSS. But to make these things live, certain amount of programming is needed.
Think PHP as a medium where you can make those calculator buttons work and do arithmetic calculations on it.
Websites which shows dynamic content and which responds to user interaction needs programming at the backend. PHP is one of those backend language.
+ 4
As Far as I am Concern: These are mine Opinions, Hope this Helps!
HTML is a language used to describe to a browser how to display text and other objects in a browser window. It is not a programming language. HTML works on a client computer (the system on which the page is being viewed).
PHP is a scripting language, and can be used to create web pages written in HTML. PHP runs on the server (the system from which the page comes), and is a full-fledged programming language.
So while HTML is able to show texts and multimedia, PHP is a programming language that builds upon a basic HTML skeleton to add dynamic content to a page.
Happy Coding!
+ 3
html is used to create the structure of the webpage, css is used to create the presentation while php is used to give function and activate the page. html isn't a true programming language so you'll need to add a scripting language like java script or php to activate, that is basically the difference though php has powerfull tools that can be used to create an executable program
+ 3
HTML is front-end and PHP is back-end.......
+ 2
Hi,
HTML is a markup language (HyperText Markup Language) which is used to set up the structure of the webpage (div, lists, navigation, form)
PHP is used for building dynamic web applications. For example PHP is used for WordPress or other CMS Systems.
So HTML is for Front-end (What the user see) and PHP is for Back-End (What the user does not see)
+ 1
Simply HTML is a skeleton or a foundation of a website. it tells the browser what elements are in the web page.
when php is concerned, it's a language use to connect databases to the web page and it help to do all sort of operations regarding databases.
so if you want a website just to show some text and pictures you can use only html but if you want to take Inputs from users and save them or retrieve data. you need to have both HTML and PHP.
+ 1
php is server side language it is used for fetching or inserting data into database and html is static page which is used for taking input data from user.
+ 1
By reading HTML browser can show you web pages. So from web server we send HTML pages.
With PHP we generate HTML pages at server which we then send to browser.
0
HTML is the language that deals with the structure and content of a Web page. CSS is the language that deals with the styles of the Web page ie. how the content will be displayed. So with HTML and CSS we can have a good-looking content-packed Web page.
PHP helps us use our Web page for more dynamically. Rather than just displaying a form through HTML and CSS, we can use PHP to pass values through the forms and save them into databases, or produce results on the next Web page.
- 2
PHP is server side programming and html is client side programming.
- 2
basically HTML used for front look
how ur webpage will look with CSS
but for security, server side handle .. php used
- 2
Html5 is te structure, php is use to add any function
- 4
php is a general purpose scripting language while HTML is hypertext markup language.. php is used for makes high quality websites and htmk makes old and average quality websites