-4

Is there any other language which can be used with HTML in programming webpages other than JavaScript?

Thanks

Sandy Man
  • 5
  • 1
  • it's like, i'm somewhat good in VB. Can I use VB? – Sandy Man Aug 20 '13 at 09:26
  • 1
    No. Learn JavaScript. VB is only supported in IE, and at that only older versions – Bojangles Aug 20 '13 at 09:27
  • Yes, you can use VB. Should you? No. – Liam Aug 20 '13 at 09:28
  • Ok. Thanks! I have another question... Is there anything in HTML like.... to read JavaScript from a text file and then interpret it in another webpage? – Sandy Man Aug 20 '13 at 09:29
  • Do you mean all Client-side programming languages? – MackieeE Aug 20 '13 at 09:30
  • There will be **[Dart](http://en.wikipedia.org/wiki/Dart_(programming_language))**, but only in *In the Dartium Browser (a version of the Chromium web browser modified to include a Dart virtual machine)*. – Hashem Qolami Aug 20 '13 at 09:31
  • No. In general, when you are designing a webpage, instead of typing the code in the page itself, can you read the code from some other text file? – Sandy Man Aug 20 '13 at 09:33
  • @Sandyman, you shouldn't ask multiple questions. This is a Q&A site not a forum. You can ask as many questions as you need and you can reference this original question but try and avoid discussions if you can. I would suggest a quick read of the [faq] – Liam Aug 20 '13 at 09:34
  • 1
    Possible quplicate [What client-side web scripting languages are there other than JavaScript and VBScript?](http://stackoverflow.com/questions/4434378/what-client-side-web-scripting-languages-are-there-other-than-javascript-and-vbs) – Liam Aug 20 '13 at 09:37

6 Answers6

2

As far as I understand your question we are talking for client-side language which is being interpreted by the browser, without additional plugin like JVM, flash player.

You can use a programming language which is compiled to JavaScript (CoffeeScript, Dart, JSX, TypeScript...) but the browser will interpret only JavaScript (except Internet Explorer which may supports VBScript and I guess Chrome which may be able to run Dart).

Minko Gechev
  • 25,304
  • 9
  • 61
  • 68
1

Yes, in the mainstream there is VBScript however it's only supported by Internet Explorer.

Really though your question comes down to where your HTML will be rendered and whatever the host renderer supports.

Lloyd
  • 29,197
  • 4
  • 84
  • 98
1

Yes, CSS is a language too. Then there are client-side technologies like Java and Flash too.

But why do you ask?

Web development uses server-side technologies like some PHP frameworks and ASP.NET, among other. On server-side coding you can program using C#, Java, PHP or a host of other languages, but they usually 'generate' HTML which is served to the client browser.

Does this answer your question?

j7m
  • 1,067
  • 8
  • 13
0

Well, on the server side, any language can be used.

In the browser, you need a plugin, which could be for Java or something more esoteric like Tcl/Tk

Paul
  • 26,170
  • 12
  • 85
  • 119
  • Yes, but you don't mention that a plugin is required for Java to work in the browser, hence my assumption that you meant JavaScript – Bojangles Aug 20 '13 at 09:28
  • Perhaps the edit fixes this. Thanks for making it clearer. – Paul Aug 20 '13 at 09:30
  • 1
    Today I learned `` is [deprecated and not part of HTML5](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/applet); not that I've used it in years.... – Paul Aug 20 '13 at 09:31
  • 2
    Wahooo! that's a reason to celebrate! :) – Liam Aug 20 '13 at 09:32
0

Yes. You're talking about client side scripting. And there are other languages that can do that. I'm not really up to date, but back in the day, ActivePerl (a Perl distribution by ActiveState) had a version that ran in Internet Explorer.

Daren Thomas
  • 67,947
  • 40
  • 154
  • 200
-1

You are referring to any form of client side Language which has to do with how you're browser interprets information.