| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #26 (permalink) |
| Tech Support Join Date: Mar 2005
Posts: 4,944
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | When it comes to PHP or (x)HTML, I think of it this way: If it's a simple website (such as a minisite) that doesn't need any advanced features, I'll use just HTML. If I do want advanced features, I first look to see if it can be accomplished with simple javascript first (depending on what those features are); if javascript won't do the trick, then I move on to PHP. |
| |
| | #29 (permalink) |
| NamePros Regular Join Date: Jul 2007 Location: INDIA
Posts: 410
![]() ![]() ![]() ![]() | one thing XHTML is based on HTML. and second thing HTML can't be depreciated, all what you get through PHP ASP or ASP.net is all based on HTML only. what you get is HTML as the final output. saying HTML is obselete is like saying my kernel is obselete so i will only use my web browser. |
| |
| | #30 (permalink) | ||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #33 (permalink) | ||||
| NamePros Regular Join Date: Jul 2007 Location: INDIA
Posts: 410
![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/programming/472653-which-one-php-or-html.html you got my comment wrong way it was comparing PHP and HTML not HTML and XHTML. also in this case PHP does necessarily need HTML. also web browser's are based on kernel. otherwise you would have used standalone webbrowser's | ||||
| |
| | #35 (permalink) |
| NamePros Regular Join Date: Sep 2006 Location: K-R.NET
Posts: 902
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | that's like comparing LaTex (http://www.latex-project.org/) to C programming
__________________ |
| |
| | #37 (permalink) |
| Account Suspended Join Date: Jun 2008
Posts: 156
![]() ![]() | You use php and html together. They are like peas and carrots. Since both perform different tasks, you cannot really compare them. Simply put, if you have a static (a page that never changes), then you don't need php. |
| |
| | #39 (permalink) |
| CEO at Syack Inc. ![]() Join Date: Jun 2005 Location: Pennsylvania
Posts: 1,879
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Html = Hyper Text Markup Language, ---------------- Basically this is what the end user sees. HTML displays content. PHP = Hypertext Preprocessor -------------------- A backend script that does all the back work.. echos in html
__________________ Poker News, articles, discussion Syack - Shop.. Local Two great events started with apples. The one that fell on Neuton's head and the one that Steve Jobs bite into. |
| |
| | #41 (permalink) |
| Senior Member Join Date: Jan 2008
Posts: 1,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I like HTML more as its very easy too use and I don't feel trap by my lack of knowledge on PHP. ![]() HTML also have a lots of nice features which includes almost everything that I need on a simple website. Though if its going to higher standard website PHP is a preferred option. |
| |