Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 decade ago

Javascript to HTML conversion... help?

Are there any good sites that can change/convert Javascript codes to HTML?

Thanks.

5 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Javascript is as the second part of the name implies - a scripting language (oddly, the first part of the name notwithstanding, it has nothing to do with Java). Think of HTML as the performers in the orchestra and Javascript as the conductor. It is used to do computations and other tasks 'behind the scenes' that don't have any direct impact on how the web page is displayed. All it can do is determne what sections of HTML get displayed and when.

  • Imma M
    Lv 5
    1 decade ago

    You cannot convert javascript to HTML. It's just a different language used for a different purpose. HTML is used simply to display and create pages, javascript is used to apply logic and dynamic control.

    It's not like translating spanish to english. It would be more like trying to convert a mathematical formula into a worded paragraph. You could certainly describe the formula, but it wouldn't be usable for it's original purpose.

  • Anonymous
    5 years ago

    uhh isn't HTML and Javascript two different things?

  • 1 decade ago

    You can't convert them PERIOD. Java is meant to be integrated to html not convrted to html .

  • How do you think about the answers? You can sign in to vote the answer.
Still have questions? Get your answers by asking now.