+ Reply to Thread
Results 1 to 9 of 9

Thread: Why are other programming languages used when all I need is HTML please?

  1. #1
    electricwally is offline x10Hosting Member electricwally is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    12

    Why are other programming languages used when all I need is HTML please?

    Hi Members

    I'm fairly new to programming and was wondering why other programming languages are used to design web pages? I thought all I needed to learn was HTML.

    I'm also currently learning C# programming language. However I am not using it for web pages. I only use HTML for web page design.

    Thank you.

  2. #2
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Why are other programming languages used when all I need is HTML please?

    You use HTML to write the basic structure of the website, you use CSS (Cascading Style Sheets) to style elements so it looks better and to arrange HTML elements for an aesthetically pleasing design, and you use JavaScript to bring it to life (interactivity). You use PHP/ASP to make it dynamic with a connection to the database and easier to maintain. Really the only languages you NEED to know are (x)HTML CSS and PHP/ASP for a modern, decent website, but it's nice to have an extensive collection.
    Last edited by as4s1n; 04-25-2010 at 04:33 AM.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  3. #3
    electricwally is offline x10Hosting Member electricwally is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    12

    Re: Why are other programming languages used when all I need is HTML please?

    Hi as4s1n

    Thanks for the response. Very good explanation. I now understand. Thank you.

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Why are other programming languages used when all I need is HTML please?

    HTML isn't a programming language, it defines the structure of a document. Programs are ordered instructions to be executed; they describe how to compute something.
    Last edited by misson; 04-25-2010 at 01:05 AM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  5. #5
    joelschw is offline x10Hosting Member joelschw is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    1

    Re: Why are other programming languages used when all I need is HTML please?

    Yeah exactly what these guys said above, another way of thinking of the relationship between HTML and the other web languages is this:

    HTML will happily format a page that you create / design.

    'Server side' languages like PHP and ASP will do all of the fancy stuff you see on these forums like 'Log ins' and 'Post submissions'

    Hope this helps
    j

  6. #6
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Why are other programming languages used when all I need is HTML please?

    If you say "programming language", I think of languages like C++, C, Java, etc. Their (primary) purpose isn't to be used in websites. They're used to create stand-alone applications that run outside of a browser, like Photoshop or OpenOffice.
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

  7. #7
    electricwally is offline x10Hosting Member electricwally is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    12

    Re: Why are other programming languages used when all I need is HTML please?

    Well said everyone. I sure have a better understanding now. Thanks.

  8. #8
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Why are other programming languages used when all I need is HTML please?

    Quote Originally Posted by marshian View Post
    C++, C, Java
    Except that I've seen CGI apps written in C++ and C, and, until Flash came along, Java applets were once fairly common embedded in webpages. Perl, Ruby and C# are quite often used for both. JS, PHP and even RTML are very much programming languages. Granted, there is a difference in common usage. Another big difference is that C++, C and Java are typically compiled, while languages used in web development are typically interpreted.

    But do not speak to me of any VB, for they are abominations.
    Last edited by misson; 04-25-2010 at 04:31 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  9. #9
    Hello71 is offline x10Hosting Member Hello71 is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    14

    Re: Why are other programming languages used when all I need is HTML please?

    C[++] is compiled into machine code, while Java is compiled into bytecode, which is then interpreted.

+ Reply to Thread

Similar Threads

  1. languages
    By sirhady in forum Free Hosting
    Replies: 4
    Last Post: 07-20-2009, 10:18 AM
  2. Other languages..
    By alexphpbb in forum Free Hosting
    Replies: 5
    Last Post: 11-20-2007, 01:03 PM
  3. What web programming languages you know?
    By t2t2t in forum Off Topic
    Replies: 24
    Last Post: 10-02-2007, 07:35 AM
  4. What programming languages do you know?
    By RealisationInc in forum Off Topic
    Replies: 15
    Last Post: 12-31-2006, 02:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers