PHP vs HTML

Discussion in 'SEO' started by rohitbhisey, Jan 10, 2008.

  1. #1
    Hi guys!!!

    Please explain me the difference between PHP and HTML files??
    According to your views..

    All views accepted..

    Thanks in advance

    Rohit
     
    rohitbhisey, Jan 10, 2008 IP
    reuters likes this.
  2. kel555222

    kel555222 Peon

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    from what i know, php is server side (you can add databases and stuff) but i like php better, it's way more flexible
     
    kel555222, Jan 10, 2008 IP
  3. shaila

    shaila Guest

    Messages:
    299
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    HTML is language used in designing a website and PHP is a language used if you want your site to be more dynamic like online application form. PHP is difficult for SEO as it required script
     
    shaila, Jan 10, 2008 IP
  4. admins

    admins Peon

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    PHP: Pre Hyper Processot : a server side script language
    HTML: Hyper text markup language
    To execute php code you need php but html code can be executed in many way.
     
    admins, Jan 10, 2008 IP
  5. Sabbir

    Sabbir Banned

    Messages:
    210
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #5
    PHP is server side language. Executes in the server.
    HTML is Client side language. work in clients/users pc.



    best wishes
    ________________________________
    Custom Lanyards
     
    Sabbir, Jan 10, 2008 IP
    Jim4767 likes this.
  6. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In PHP, you can put HTML codes.
    In HTML, you can't put a PHP code.
     
    Bohol, Jan 11, 2008 IP
  7. cdmaximum

    cdmaximum Guest

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you have the option, never use .html. Only .php, but make sure to meta it all correctly.
     
    cdmaximum, Jan 11, 2008 IP
  8. slihta

    slihta Peon

    Messages:
    131
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    PHP only ! There are a lot of opations
     
    slihta, Jan 12, 2008 IP
  9. deepraj12

    deepraj12 Banned

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    php and html are two different programming.
    PHP is used to accesss or retreive the data from database.
    HTML is used for designed website.it is hyper text markup language.
    PHP is used after HTML of the website.
     
    deepraj12, Jan 12, 2008 IP
  10. gsv13

    gsv13 Well-Known Member

    Messages:
    2,773
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    130
    #10
    if you are asking it from seo point of view .... then there is plainly no diff .... however most ppl prefer html over php(just a mindset).
     
    gsv13, Jan 12, 2008 IP
  11. angilina

    angilina Notable Member

    Messages:
    7,824
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    260
    #11
    u can put php code in html pages.

    I do this with my site, take a look at it

    http://www.a1newspapers.com/
     
    angilina, Jan 12, 2008 IP
  12. seomax

    seomax Banned

    Messages:
    384
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #12
    HTML is a client side language.
    PHP is server side programming language used for dynamic websites along with html or any other client side design language.

    if you are asking seo wise then IMO html pages are better then php pages since they take lesser time to load and are easily accessible by search engine bots... as per my experience pure html static pages are good seowise...

    I would also like to know opinion of other seo experts on this.....
     
    seomax, Jan 15, 2008 IP
  13. decepti0n

    decepti0n Peon

    Messages:
    519
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Static html and php-generated pages are identical, just static html would use up less cpu. Bots and users see them exactly the same
     
    decepti0n, Jan 15, 2008 IP
  14. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #14
    There are detailed definitions and descriptions of HTML and PHP in my Web Authoring FAQ - link in my signature block below.

    James
     
    jamesicus, Jan 15, 2008 IP
  15. SEOptimize

    SEOptimize Banned

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #15
    php creates a dynamic pages in which you can implement call to action, respond according to user response and many more...
    html pages are just static pages which appears same to everyone who access them. though you can add some effects in HTML pages using css and javascripts. if you are asking in terms of search engines, well.. few people believes that search engines are rankings html pages higher then php pages. but matt cutts says that, it doen't make any difference for G.
     
    SEOptimize, Jan 16, 2008 IP
  16. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #16
    It really shouldn't be PHP vs HTML. Web pages are documents composed using HTML Markup -- PHP is a Server-side scripting language that performs document delivery and processing tasks. Here is an example of a Web page that uses PHP to selectively deliver it to various Browsers according to their capabilities. I will post the attending PHP code if there is interest.

    James
     
    jamesicus, Jan 16, 2008 IP
  17. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    PHP is the server side scripting language (open source as well) where HTML is just a markup language.. your web browser cannot understand PHP, But can understand HTML....

    HTML pages called static pages..

    PHP pages called dynamic pages..

    if you create your page in HTML, browser can directly understand it..

    and if your page will be in PHP.. then PHP scripting first interpreted by webserver (apache or IIS) whatever you are using, and then it will throw the translated HTML to the browser so that browser can understand and layout the page... :)

    hope it helps..

    regards,
     
    webexpert, Jan 16, 2008 IP
  18. Bohol

    Bohol Peon

    Messages:
    2,680
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #18
    HTML is not a programming language; PHP is.
     
    Bohol, Jan 17, 2008 IP
  19. Dr. XYZ

    Dr. XYZ Guest

    Messages:
    226
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I do agree and it is more common compare PHP to ASP, ASP.NET, Ruby on Rails, Python, CGI or even Java, but not HTML

    ·​
     
    Dr. XYZ, Jan 17, 2008 IP
  20. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #20
    as per my experience.. there can be PHP vs HTML.. its so important for beginners.. so that they can understand the difference.. and web architecture..

    i had been giving lectures in the computer science department of reputed universities here.. and i taught them html, javascripting.. and then when switched to server side scripting, i had to told them the differences between client and server side scripting.. infact HTML is just markup languages.. but to get rid from confusions. beginners really need to know the differences..

    cheers,
     
    webexpert, Jan 18, 2008 IP