PHP vs HTML

Laviskajoermoy

Active member
Registered
Joined
Jan 18, 2014
Messages
68
Points
8
Is there any relationship between PHP and HTML? Is there any difference between PHP and HTML...please suggest
 

shobee

New member
Registered
Joined
Feb 14, 2014
Messages
6
Points
0
Interesting post. Also looking some responses here. I guess it should be linked as per my knowledge html is in which designers are expert and php is in which developers are experts. So two Ds always worked together :)
 

AlexBell

New member
Joined
Mar 25, 2014
Messages
14
Points
0
HTML is a markup language used to display information on a web page. PHP does something similar except it is server site programming language. It interact with databases, evaluate conditions statement, system information and spit it out at the client and on the client side, this give displayed as HTML.
 

mfscripts

New member
Registered
Joined
Feb 24, 2014
Messages
3
Points
0
A simple way to explain it would be that HTML is the skeleton of a website, CSS is applied to the HTML for styling. PHP is more for functionality. For example if you were to create a static page to display information and doesn't have any functions such as a login, members area then you would be using only or mostly HTML and CSS. If you wanted to create a website that has additional features such as the above mentioned, or has dynamic features such as a page counter, then PHP is needed to execute these functions.

Hope this helps.
 

Adriana14

Member
Joined
Apr 21, 2014
Messages
21
Points
0
Html is for static website, but if you include PHP you can have a nice dynamic website
html is client side and php is a server side
 

rohanjain

Member
Joined
Feb 19, 2014
Messages
21
Points
0
HTML is used to create static website while php is to make dynamic site. PHP code is embedded within the html code using <?php and ?> tags. PHP is server side script language while HTML is markup language.
 

scarlettjack

Member
Registered
Joined
Apr 18, 2014
Messages
36
Points
0
PHP language comparatively hard and it is use as dynamic whilte HTML language is easy it is use as Static.
 

hudafaeq

New member
Joined
May 9, 2014
Messages
11
Points
0
PHP is more similar to HTML the only difference is PHP support server side while HTML is only static language.
 

andonoxi

New member
Joined
May 5, 2014
Messages
11
Points
0
PHP vs HTML.. I don't like the name of this topic. There is nothing to compare between these two languages ​​because they are quite different and need each other.

You can't use php instead of html and vice versa. These two languages ​​are complementary to websites can be fully operate as they should.
 

Conrad

New member
Registered
Joined
Jun 4, 2014
Messages
3
Points
0
There is no comparison of these two language.HTML allows you put images,text , video, forms etc together into a webpage.webpage is language of web applications like widgets and plugins.
 

scarlettjack

Member
Registered
Joined
Apr 18, 2014
Messages
36
Points
0
Both more similar to each other languages but one is static and other one is dynamic
 

dominickhost

New member
Registered
Joined
Jun 19, 2014
Messages
6
Points
0
The two when coded Correctly work quite well together. I don't think anybody should learn one without the other
 

drdialeruk

Member
Registered
Joined
Jun 7, 2014
Messages
26
Points
0
PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.

The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server's PHP engine before being sent to a client's Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML.
 

NicholasK

Member
Joined
Jun 8, 2014
Messages
23
Points
0
HTMl is a markup language (until HTML 4.1, HTML5 is not just markup language) while PHP is a programming language used to design interactive pages.
 
Latest Threads
Similar Threads
Replies
15
Views
4,967
Replies
2
Views
2,931
Replies
4
Views
3,544

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top