| | Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular. |
|
|
Php or HTML? It's not like you have a choice without HTML. What are you going to use on the web if you're not using HTML?Php with HTML, yes, that's a great combination. I generally make snippets of code in HTML and unite them using PHP includes/requires. Thats' a great way to develop websites. You can use and reuse your code a lot of times using Php includes and require commands. I... read more.
I use PHP because I can manipulate web pages more with PHP than HTML, like including another webpage to the current page with the command include. You can do the same with HTML but have to use bulky <object> command with register keys that's hard to remember. And coming from C++ background, I was able to understand PHP faster compare to HTML commands--especially love the FOR loop and IF, THEN commands.
However, I've been meaning to ask this question: do search engines like HTML page more than PHP page? I made few websites years ago, at the same time, one with PHP and the other one with HTML. Google, it seems, liked HTML pages better than PHP. My backlink search shows HTML cached by Google and none of my PHP cached by Google... Am I dreaming? So, ultimately do you build with HTML (file ending) or PHP (file ending) which to choose? Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular. That's a very unfair comparision. HTML is a markup language. It was made to display text and stuff like that in a fancy way. PHP was made as a scripting language to do things like access files, solve mathematical problems, and do repetitive tasks easily. If you're referring to the use of PHP on the web, well, you're going to need to use HTML with PHP anyways if you want to do anything worthwhile. HTML by its own isn't very convienient to update.
Tetraca,
Thanks for the pointer. I guess since I use mainly to "calculate" my pages depending on the result, such as random file displaying or visitor's status value (whatever it may be) I just started to use PHP and spit out HTML command using the ECHO. This made me forget your point--PHP is really a scripting language where PHP still depends on HTML markups to render web pages. I did find an answer to my question above...PHP or HTML and does it matter to SEO. QUOTE I will say though, that theirs no seo reasoning behind changing from php to html, I don't know why people worry with that. Mod_rewrite is only worth it to get url's without multiple variables. SourceAt the worse case, I can always rewrite .php to show .html by .htaccess rewrite.
It depends on what web page its for. Like if you're doing a web page for some login page then use php, but just a normal page like some introduction about your self with no advanced features i.e. guestbook. Then use html. To me html is easier, but php gives you more functionality. Also if you don't want people looking at your webpage's code use php, only advanced users that know how to create web browsers can know your 'code'
Well as said for almost any website you need HTML, unless its one of those fancy pure css sites. So to be fair virtually 1OO% of websites use HTML so in that sense HTML is more popular, now if the question is about which language i prefer coding in i would say php because i like solving problems more than displaying info.
but in a comparison of sites with html and those using php HTML would win in terms of numbers of websites using it because you dont need t use php to make a website.
I use HTML and CSS at the moment because I don't know PHP yet. I would like to learn it soon so it can update stats atuomatically so I don't have to. Example, I plan to make a fanlisting soon and PHP is great with updating member stats right away. There's lots of other reasons. I'll still use HTML though.
while php is more flexible but it is more confusing than html and it requires a big download to code from my desktop so i prefer to use html. if i realy need php i normaly just download the scripts like wordpress or watever
I don't think such a question could actually be asked... It's as if you are comparing to objects of different nature... HTML is a markup language which is the basic knowledge in web-designing; it is indispensable. While on the other hand, PHP is a server-side scripting language which allows you to execute scripts on your website. Now if you want to keep it simple for you while coding your website, you can use HTML and at the same time, use PHP... each in its right place and for its right cause.
I just want to point to something... when you want to compare, you have to choose items of like-nature. To be clearer, you can compare PHP to ASP, HTML to XML... something like that. I don't think such a question could actually be asked... It's as if you are comparing to objects of different nature... HTML is a markup language which is the basic knowledge in web-designing; it is indispensable. While on the other hand, PHP is a server-side scripting language which allows you to execute scripts on your website. Now if you want to keep it simple for you while coding your website, you can use HTML and at the same time, use PHP... each in its right place and for its right cause. I just want to point to something... when you want to compare, you have to choose items of like-nature. To be clearer, you can compare PHP to ASP, HTML to XML... something like that. I myself use them both alongside each other but not all the time it depends what I am designing if its a clan/game based feature i will use both but if its a security module etc i will use php and html if needed, but that question is really hand in hand. i think using one or the another is the wrong way to go but everyone is different and they not think like I do.
Latest Entries
Php or HTML? It's not like you have a choice without HTML. What are you going to use on the web if you're not using HTML?
Php with HTML, yes, that's a great combination. I generally make snippets of code in HTML and unite them using PHP includes/requires. Thats' a great way to develop websites. You can use and reuse your code a lot of times using Php includes and require commands. If you want to find out how they work, well you can go to http://www.w3schools.com/php and read about them. It's really very simple as far as includes and requires are concerned.
I do a mixture of both really. Html to set out the site and just php scripts for stuff which requires me to connect to my sql database and display information.
For the html I do mostly <div> with the class from my css stylesheet. For the php scritping, mostly connecting to mysql and displaying data. I really ought to learn more php. I personally vote for Php scritping though, alot more advanced and gives a better feel to the site. Which always changes depending on whats happening to the site. Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular. This is very strange comparisson and I would say that you cannot compare it in such a way because PHP is scripting language and HTML is markup language (HTML is abbreviation for the hyper text markup language). So this is really strange comparisson. You should first consider in which situation you would like to use each and just to add if you use HTML you can create web site but you cannot create web site without HTML that is you can but it would be really ugly and it would be able to present just some simple outputs. Though there are many other things that you cannot do with HTML that is why you use PHP. Also I would like to add that PHP is language that is being executed on the server that is on the server side, while HTML is client sided that is HTML is processed and executed on the client side that is Browser is defining and executed commands from HTML file. And someone said here that he has problems that his or hers pages aren't cashed in google cash this is not problem with HTML and PHP and certainly not with google problem lyies in simple thing that pages that use also PHP are not static and that is why google doesn't remembers them.
I know a bit of html and a tad of php (Syntax, Variables, Echo, Strings and Operators) but when I do learn both quiet well, I will probably use php as most good looking websites I have seen use Php (and also html too i guess). So I'd probably use both actually.
Html is much easier for website
i use html for my web template and its too easy i can say it and i'm using dreamweaver so that much easier because they have auto html its just like if you put anything img or you click something then tata there's the code for the templates
Similar Topics
Keywords : php, html,
(6) I was just curious on how people here learned HTML or XML (assuming you did, which, judging by the Taking your application data, and creating a webpage for others to vie (1) This example will show you how use a string in VB to create PHP code. In order to do this, you need download FREE version (0) You can create professional online albums/books with this simple and convenient tool: FlippingBook (0) Hi everyone. I would like to ask if anyone here knows how to compose a HTML based email, with (0) HTML, XHTML & CSS then this book is a must as this book will teach you how to build basic websites (0) If you’re a web design both beginner and advance and have a hard time remembering all the Html programming or javascript (3) this is one thing i've struggled with for ages. I want a webpage where there are little Which way you like- MyPage.html or my-page.html or my_page.html (9) Everybody talks about meta tags, keywords, good title names and how they can increase page rankings, Html code for invsiionfree!! (2) Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it (20) im looking for any kind that is free really.... i use windows but if you have one for a different (9) how to make my intro page in the middle not CENTER .... does anyone know how to import a flash into a webpage with transparenc (1) Hi I need some help , Im designing this website for school studies However, I made a flash drop down Wanna learn to write programs and/or make websites? You can do it fre (12) Have you ever used an application or played a game and thought, "If you could only..." or "If I knew Using MySQL?! (4) Hey, I need your help again! I need some good working tutorial how I can update my SQL through html help (1) Alright, i am working on a website where a number of different users from different companies will (1) Hi, I've tried to make a webpage in HTML using the frameset tag. Here is the code of the It's much better than Frontpage (3) I was desperate to finish a site I was designing after I lost my hard drive and my software. I (20) im a noob when it comes to web html to design web sites, can some one tell me where to find a good (15) Yes, yes. I have another script that I have written and I am distributing. I am not entirely sure if i want to start buliding my website. which is better, php or basic htm (13) i try to start this topic in webhost category but it seems like i cant. i dont have the permission (3) Here's the deal. I am new at working with web objects in photoshop. I have CS3, and I created a HTML, javascript, and CSS (14) well eversince i got interested in web desighn i've looked for tutorials but they where not that (27) Ok, well recently i realized that i am not as skilled in HTML (such as building website layouts) as (1) I'm trying to create a website with a form that collects some user information to store in MySQL (5) Can you have a HTML countdown for your wallpaper for your computer? I know you can have a animation Where You Put HTML Code For Your Users (4) Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they A good collection! Check it out. (48) Here they are, the best html editors. Just pick one because they are all free, or choose one of the (15) I was curious. There is a program clled dreamweaver which does what I want but it cost to much..... (87) HI, i am intresting in knowing where you began learning html of what inspired you to start learning Looking for php, html,
|
![]() Php Or Html? - which do you use? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|