Are you asking this queston regarding the new Search engine guidlines penalizing slow loading pages? If yes, then I would say HTML is the best and always will be. PHP pages need to be "processed" by the PHP engine on the webserver and it takes time to do the job. Just google "WordPress optimization" (or something like that) and you'll see that this is a real concern among WordPress blog owners and I'm one of them!
Hi, PHP is stands for Hypertext Preprocessor and it is a program language,where as HTML is stand for Hypertext Markup Language and we can use both of them together to create a website.
Very Well said! but in modern days programmers combine the technologies of both to render smart piece of codes based on combination of both
PHP is stand for Hypertext Preprocessor where as php is a programming language and HTML is stand for Hyper Text Markup Language and it is just a simple markup language but we can use both of them together to creat a dynamic website.
PHP means Pre Processor Hypertext it is use for web design,HTML means Hyper Text Markup Language. It is used to create web pages with the help of text editior.
Neither HTML nor PHP is "best". As mentioned already they're totally different. If you're planning on making a website you'll atleast NEED to know HTML, as HTML is used for creating the layouts/texts/etc. ( the whole look of your website with it all its graphical & text contents ). If your website also needs a system (e.g. for user accounts creation, content manegement administration panels, etc. ) you will need to use PHP as well (generally speaking, however there of course are alternative programming languages also).
If you are doing a simple 10 page site then straight html should be fine but anything complex will probably require php.
.net is not the fastest solution but works just fine if you dont mind spending countless extra hours debugging your scripts and pages
As many said, HTML which proved a XML-Based structure for websites,it is completely different from PHP, whilst PHP is a quite powerful programming language that can be used for practically any application (you can actually use PHP as you would use Java, and C++) Facebook developed a framework called HipHop that converts PHP to highly Optimized C++ if that has any interest to you.
Well both are good at there position .They both having different works and both plays very important role in the world of programming.PHP is the programming language and HTML is the mark up language.So from my side there is no comments on both because both language is also very important for my life because i am a cse student.
Php vs html PHP and HTML are compliments not competing languages. PHP is used to create dynamic HTML which will be sent to the viewer. You would not be able to create a shopping cart in just HTML. PHP is obviously going to be slower than HTML since it is computing dynamic code, wheras HTML is just reading the code from the file and sending it out. The difference wont be noticable unless you have the php engine doing something rediculous. The extensions don't make code php or html. HTML code in a .php file is still HTML. by renaming a file to .php, it is simply telling the apache server to look out for php tags (<?php ?>) and if it finds any to engage the php engine. They are different tools, each used for different jobs. HTML stands for Hypertext Markup Language, and its basically a tool for displaying text in different ways using tags. You could create a webpage in HTML, and that would be it. In order to update figures or information on your page, you would have to manually edit the information within the file and re-upload it. All you have is that webpage with nothing behind it. PHP is what makes the content on your page dynamic. Often used hand in hand with MySQL (or any of the other popular semi-popular databases), PHP uses variables and other functions to do tasks that HTML cannot do. PHP is handles the data, which can be obtained from people and stored, and HTML is used to format the data. Often called the frontend (HTML) which is what people see, and the backend (the PHP) which is what does the work. If you wanted to create a shopping cart, you would need both languages. PHP to handle the data, mathematical calculations ... or to incorporate API from another source, to process information according to what you want to do with it, and to communicate with a database. Then, you would use the HTML to format the results of what the PHP produces. If you didn't have HTML, the PHP output would be very basic, unformatted, and look like a big jumble of information. HTML allows the information to be put into tables, bolded, italisized ... allows linebreaks, headers, subheaders.