crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference between HTML and PHP
Question Posted on 18 Sep 2011Home >> PHP >> PHP Questions >> Difference between HTML and PHP

Below are the some of main differences between html and php and also have defination for both of them
HTMLPHP
HTML is a markup language and not a programming language. HTMl is Markup language which have set of mark up tags and HTML which uses markup tags which are usually called HTML tags to understand web pages. HTML documents describe web pages and they contain HTML tags and plain text. HTML tags could be identified easily in a HTML document since they are surrounded by angle brackets. HTML tags are typically inserted in to a document in pairs, where the first tag is the start tag (< b>) and the second tag is the end tag (< /b>). The task of a web browser (e.g. Internet Explorer, Firefox, etc.) is to read a HTML document and display it as a web page. The browser uses the HTML tags to interpret the content of the page and the HTML tags themselves are not displayed by the browser. HTML pages can embed images, objects and scripts written in languages like JavaScript. Further, HTML can be used to create interactive forms.As mentioned earlier, PHP is a scripting language that is specially suited for developing dynamic web pages. PHP is open source software and it is free to download and use. PHP scripts are executed on the web server. PHP code in a requested file is executed by the PHP runtime and creates the dynamic web page content. PHP can be deployed in most web servers (Apache, IIS, etc.) and runs on different platforms such as Windows, Linux, UNIX, etc. PHP can also be used with many Relational Database Management Systems (RDBMS). Even though PHP was originally designed for creating dynamic web pages, it now focuses mainly on server-side scripting where it provides dynamic content from a web server to a client. PHP files can contain text, HTML tags and scripts. PHP files are processed by the web server and returned back to the browser as plain HTML. PHP files can be identified with the file extensions “.php”, “.php3?, or “.phtml”
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

difference between echo and print

method to past value from one page to another in php

differenc between mysql_connect and mysql_pconnect

What is htaccess file

Code to combine or concatenate two variables in php






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap