Difference Between HTML (Hypertext Markup Language) And PHP (Hypertext Preprocessor) in Tabular Form.

Sno.ComparisonHTMLPHP
1.Full FormHypertext Markup LanguageHypertext Preprocessor
2.Year19931995
3.DeveloperIn 1980, by Tim Berners-LeeRasmus Lerdorf in 1994
4.Language TypeScripting LanguageProgramming Language
5.WorkingHTML is the structure of Web pages
using markup and building blocks of HTML pages
Php is the structure of Web pages which is executed on web server and form
markup building blocks of HTML pages send to the client web Browsers.
6.UsageTags “heading”, “paragraph”, “table”, and so onFunctions ,If Else Statements Loops etc
7.Running FilesOn Web BrowsersOn Web servers with Apache.
8.RelevancePhp Not use in HTML FileHtml is use in Php File
9.File Type.html.php
10.VersionVersion Year
HTML 1991
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML5 2014
1.0 8 June 1995
2.0 1 November 1997
PHP 3 6 June 1998
PHP 4 22 May 2000
PHP 5 13 July 2004
PHP 6 and Unicode 2005
PHP 7 During 2014 and 2015,
11.Example
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Browser default heading styles</title>
</head>
<body>
	<h1>Heading 1 (h1)</h1>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Browser default heading styles</title>
</head>
<body>
	<?php echo "<h1>Heading 1 (h1)</h1>"; ?>
</body>
</html>
(Visited 1,200 times, 1 visits today)
Share with Friends :
Written by:

Leave a Reply

Your email address will not be published. Required fields are marked *