1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

HTML for web design

Discussion in 'HTML & Website Design' started by FMEMDAD, May 6, 2011.

  1. #1
    Can anybody say what is the difference between HTML and PHP ? because I want to be a web desiger.
     
    FMEMDAD, May 6, 2011 IP
  2. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #2
    html is basically the display of the site ie html is the coding that makes the design of the site and php is the functions that are used in the site so that it can work ie php is the behind command

    for a web designer html is a must and for a web developer php is a must
     
    msk19994, May 6, 2011 IP
  3. JimmyRP

    JimmyRP Active Member

    Messages:
    456
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #3
    html defines the structure of the site. You use divs to set up the boxes that all content goes into. HTML is a front-end tool because it defines a large part of the layout in the webpage, and is a lot of what you see.
    css goes with html, and is the styling. css is also front-end, and html goes nowhere without css. If you learn html, you learn css.

    php is more of a backend tool, but can also be used front-end. php is a much more functional language.

    There is no way you will succeed in learning php as a web developer if you don't learn html/css WELL beforehand. Jumping into this is a hard thing, and if you get over your head you may just quit. Take it slow, learn html/css and get good at it. When you are comfotable with that, move to javascript if you like frontend stuff, or php mysql if you like backend. html/css is the starting point to everything else.
     
    JimmyRP, May 6, 2011 IP
  4. prclicks

    prclicks Peon

    Messages:
    353
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ya JimmyRP is right learning html/css is the first step to web designer, as its the basic scripting language in the web development. PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page.
     
    prclicks, May 7, 2011 IP
  5. RainnusShin

    RainnusShin Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    In simple terms, HTML by itself is a static markup. If you write down your local time in some HTML file and upload it to your server, every time you reload the page you will see the same time. PHP runs on the server and is able to access things on the server, like the time for example, so if you use PHP to output HTML, you can have it show the time dynamically, so every time you reload the page, you will see the time change.
     
    RainnusShin, May 7, 2011 IP
  6. exefer

    exefer Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Basically, HTML which means Hype Text Mark Up Language is the foundation of web design and php is the platform to make the website dynamic and enable it to interact with the user
     
    exefer, May 8, 2011 IP
  7. om39a

    om39a Peon

    Messages:
    287
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    PHP files are just like HTML files, but they can include both HTML and PHP code. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page. The .php extension is important, since it tells the Web server that the page may include PHP code.

    PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML.
     
    om39a, May 8, 2011 IP
  8. FMEMDAD

    FMEMDAD Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I am satisfied to get your reply with clarification.
     
    FMEMDAD, May 8, 2011 IP
  9. Alamgir Rajab

    Alamgir Rajab Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Html defines the structure of the site & the PHP files are just like HTML files.

    css goes with html, and is the styling. css is also front-end, and html goes nowhere without css. If you learn html, you learn css.
    php is more of a backend tool, but can also be used front-end. php is a much more functional language.

    Thisis the difference between HTML and PHP

    If you need a good web designer please PM me.

    Thanks
     
    Alamgir Rajab, May 9, 2011 IP
  10. johnnright

    johnnright Peon

    Messages:
    176
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    With PHP you can create forms like process HTML forms,send mails from a web page,and talk to a database and so on.Besides the web design aspect,you will have occupied the programming skills domain by knowing PHP.
     
    johnnright, May 9, 2011 IP
  11. designer333

    designer333 Greenhorn

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #11
    HTML is the foundation of web design and php is the platform to make the website dynamicacly
     
    designer333, May 9, 2011 IP
  12. webmaster11

    webmaster11 Peon

    Messages:
    62
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    HTML is a markup language used to define the structure of documents on the web. It is not a programming language. PHP is a programming language. It is typically run on a web server, though not always. When run on a web server, it is used to dynamically generate HTML content to be sent to a web client. So, the main difference is that they're two completely different things that serve completely different purposes.
     
    webmaster11, May 9, 2011 IP
  13. alok.kumar

    alok.kumar Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    PHP is a server-side scripting language for creating dynamic Web pages. You create pages with PHP and HTML. When a visitor opens the page, the server processes the PHP commands and then sends the results to the visitor's browser, just as with ASP or ColdFusion. Unlike ASP or ColdFusion, however, PHP is Open Source and cross-platform. PHP runs on Windows NT and many Unix versions, and it can be built as an Apache module and as a binary that can run as a CGI. When built as an Apache module, PHP is especially lightweight and speedy. Without any process creation overhead, it can return results quickly, but it doesn't require the tuning of mod_perl to keep your server's memory image small.

    HTML is hypertext mark up language used for designing web pages
     
    alok.kumar, May 9, 2011 IP
  14. mrcodealot

    mrcodealot Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Just think HTML is pretty much static and basic structure of a website. PHP can generate html pages dynamically. It can also connect to database and others...
     
    mrcodealot, May 10, 2011 IP
  15. Drey

    Drey Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    That is the easiest way to differentiate the two. Some how, the go hand in hand.
     
    Drey, May 10, 2011 IP
  16. bobwillz

    bobwillz Active Member

    Messages:
    685
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    61
    #16
    HTML is a simple programming language used for describing the structure, semantics and appearance of a document.HTML is mainly used to render web pages in browsers like Internet Explorer and Mozilla and PHP can be very useful in your webiste design,I use PHP for my websites difficult functions such as forums,blogs,chat,user forms,and shopping cart interface.But did you know you can use simple PHP for your website navigation systems.
     
    bobwillz, May 10, 2011 IP
  17. weknowonlinemarketing

    weknowonlinemarketing Peon

    Messages:
    681
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    HTML is Mark Up programming Language & PHP is Server Side Scripting language.
     
    weknowonlinemarketing, May 10, 2011 IP
  18. johnmarcova

    johnmarcova Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    1. HTML is a markup language while PHP is a scripting language
    2. The output of PHP is usually in HTML code which the browser can then interpret
    3. HTML codes are static and they are always the same every time they are opened while PHP files are dynamic and the output might not always be the same
    4. HTML is very easy and forgiving of mistakes while PHP isn’t


     
    johnmarcova, Dec 27, 2012 IP
  19. Rohit_Singhal

    Rohit_Singhal Peon

    Messages:
    96
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #19
    HTML is a language used to describe to a browser how to display text and other objects in a browser window. It is not a programming language. HTML works on a client computer (the system on which the page is being viewed).

    PHP is a scripting language, and can be used to create web pages written in HTML. PHP runs on the server (the system from which the page comes), and is a full-fledged programming language.

    Hope this help!
     
    Rohit_Singhal, Dec 27, 2012 IP
  20. omgimow

    omgimow Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    PHP files are just like HTML files, but they can include both HTML and PHP code.PHP is a server-side scripting language for creating dynamic Web pages.HTML codes are static.For good designer/developer you should both of them.
     
    omgimow, Dec 27, 2012 IP