JavaScript

How to add JavaScript code to HTML5

  • Posted on: 12 February 2015
  • By: Manuel Andrè Bo...

let's start from opening a text editor, copy/past the code below and save as "MyTest.html". Here a very basic HTML5 code:

<!doctype html> 
<html> 
<head>   
    <title>Great Home Page in HTML5</title>   
    <meta charset="utf-8"> 
    
    <!--CSS-->   
    <link rel="stylesheet" href="css/styles.css">
    
</head> 
<body>