HTML or JavaScript

Discussion in 'Web Development, Programming & Graphics' started by Serdiek, Mar 29, 2019.

  1. Serdiek

    Serdiek Member

    Programming language
  2. allmarts

    allmarts New Member

    Html Or Javascript
    JavaScript may do more than HTML because HTML is static, but JavaScript is dynamic, meaning that it may react to viewer actions, like clicking on or rolling the mouse over an object. JavaScripts are frequently called behaviors. A behaviour is composed of a viewer event and a response or action by the programming. You can program a behaviour to happen when a viewer clicks, or you can program it to happen when the viewer double clicks - that's the event. When the event happens, the programming responds by showing something, like a drop down menu, or by doing something, like playing a sound.

    With JavaScript, you site is dynamic because it responds to your viewer beyond regular hyperlinks. JavaScript is a client side programming language. Client side implies that the program code is sent to your computer with the rest of the webpage codethen, your browser reads the code and does what it says. That implies that on many sites with JavaScript, you can look at the programming code right with the HTML by going to Edit - View Source in your browser. You can usually tell if the code has JavaScript in it because the head tag will have a like that says script language=JavaScript.

    That's a great way to look at some working scripts. JavaScript is commonly used to do simple programming tasks because web viewers can turn JavaScript off on their computer, meaning that all of your hard programming work doesn't function when they view your site. JavaScript can be turned off for security, and there have been browsers that have JavaScript disabled by default. Instead, we use JavaScript to improve the functionality of a webpage. For instance, if you completely depend on JavaScript to validate your on-line forms, you've a security hole. If a viewer's JavaScript is turned off, it'll by pass your validation.

    Therefore, you can also use a server side programming language to double check the input. Script, which suggests there are more programming options. Some old browsers cannot read JavaScript, or they can only read limited amounts of JavaScript. A browser that's JavaScript enabled can read some versions of JavaScript. Script. For instance, the Flash program has its own scripting language called ActionScript, and a lot of the effects it produces in Flash are comparable to what JavaScript may do on a page. For instance, you may create a set of rotating images in JavaScript. The same thing might be done in Flash, except the Flash action is usually much smoother. Should you learn JavaScript, you've the fundamentals to start on numerous other scripting languages which are utilized for webpages.


    Kapil dev
  3. ebchaffin

    ebchaffin New Member

    Wow @allmarts, great detail. Javascript is proving to be quite challenging for me, yet I find HTML/CSS quite boring!
  4. allmarts

    allmarts New Member

  5. Treveez

    Treveez Member

    Differences Between JavaScript & HTML. Hypertext markup language (HTML) is a language used to create Web pages. TheHTML language is interpreted by the Web browser, and it delivers the images and text for the user. JavaScript is a more advanced language to make Web pages dynamic.
  6. Treveez

    Treveez Member

    Comparison and Logical operators are used to test for true or false. ... Comparison operators are used in logical statements to determine equality or difference between variables or values. ... Comparison operators can be used in conditional statements to compare values and take action .
  7. ronlex

    ronlex New Member

    I prefer java script it is more advanced and the application is more wide than HTML which is just a markup language.
  8. Ndeeri

    Ndeeri New Member

    HTML and java script two are totally different and they compliment each other. The days when we relied fully on HTML are over.They both work differently.
    JavaScript is a programming language that provides for interaction in a website while HTML is used to render pages and is not a fully fledged programming language.
  9. ymcfar

    ymcfar New Member

    Learning Javascript is sure to give you a comparative advantage in the market for web design. I guarantee that.
  10. srki93

    srki93 Member

    Depends on what you want to make, JS gives you more possibilities than HTML.
  11. bbeach

    bbeach New Member

    Both - without some understanding of HTML you won't be able to interact with the pages to any great degree through JavaScript, in my opinion. I would start with the basics of HTML then move into the basics of JavaScript. I can say, comfortably, that JavaScript has a large net in terms of programming positions available.
  12. zedph123

    zedph123 New Member

    HyperText Markup Language is a markup language abbreviated as HTML used for creating web applications or web pages. HTML can embed JavaScript programs within it in the form of scripts that converts the static form into dynamic by modifying the web page contents without reloading the web page. JavaScript is a scripting language often abbreviated as JS which is a high level interpreted and dynamic, prototypal inheritance-based language. JavaScript supports functional, object-oriented and event-driven programming.
  13. simonko

    simonko New Member

    Well, if you want to make websites you need to learn both of them. It is because you yous javascript for interactive stuff on website
  14. nithonsanchez

    nithonsanchez New Member

    It can be both. HTML is the standard markup language when designing a website while JAVASCRIPT - It is used when a web page is to be made dynamic and add special effects on pages.
  15. Lasheen123

    Lasheen123 Member

    JavaScript has more options
  16. donjandex

    donjandex New Member

    JavaScript is most commonly used as a client-side scripting language. This means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.
  17. skifimba

    skifimba New Member

    Well, usually they both go together along. If you are learning HTML you should definitely learn JavaScript too.
    As for making a choice, if you are a beginner I'd suggest focusing on HTML as it is more simple, user-friendly and easier to get a grasp on. You would start with beginner tags and how to properly structure your website. Then you would move along to CSS which is for styling your content, and lastly, you want to learn JavaScript to make your websites interactive.
  18. Rijumon007

    Rijumon007 Member

    HTML (Hypertext markup language) is a language used to create Web pages. HTML language is interpreted by the Web browser, and it delivers the images and text for the user. JavaScript is a more advanced language to make Web pages dynamic. ... Website programming includes HTML and JavaScript languages…..
  19. bads05

    bads05 Member

    for me HTML and JAVASCRIPT can work together, like adding some java script on html pages to make more attractive, responsive and reliable for user...

Share This Page