html css javascript
snippet in html

html css javascript


<!-- Answer to: "html css javascript" -->

  To keep things simple:
  HTML provides the basic structure of sites, which is enhanced and
  modified by other technologies like CSS and JavaScript. CSS
  is used to control presentation, formatting, and layout.
  JavaScript is used to control the behavior of different elements.

For example:
<div id="me">Click me!</div>
  div {
    height: 128px; /* Makes the div 128px in height */
    width: 128px; /* Makes the div 128px in width */
    background: red; /* Makes the div's background, red */
  document.getElementById("me".addEventListener("click", function(){
      document.getElementById("me").style.background = 'blue';
<!-- If you want to test the code above, go to: -->

  For more information, go to:

html css js


<!DOCTYPE html>
<html lang="pt-br" xml:lang="fr" xmlns="">
	<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="script.js"></script>