Difference between PHP and HTML
1.PHP Differences:
- scripting language
- PHP Provides dynamic content through scripts
- Typically server-side language
- php used to develop dynamic Web applications and dynamic website
- PHP can be integrated with different types of databases like Oracle, MySQL, and Microsoft SQL Server etc.
- we can use for command line scripting, desktop application development, and project management tools.
- php easy to learn but not as much as HTML
- Large number of developers who are contributing with new features and supports
PHP Code:
<?php
// PHP code
?>
- Markup Language
- HTMl determines the genral structure and content of web page
- HTMl is client-side
- It helps in Website creations
- HTML code Static
- Its easy learn
- Acts as basic building blocks for the World Wide Web
- HTML huge number of developers who are working and contributing continusly to improve it
HTMl code:
<!Doctype hml>
<head>
<title></title>
</head>
<body>
<h1>abc</h1>
<p>Loreum Ipsum....</p>
</body>
</html>