<!DOCTYPE html> <html> <head> <title> les variables </title> </head> <body> <p id="afficherIci"></p> <script> var x = 5; var y = 6; document.getElementById("afficherIci").innerHTML = x + y; //document.getElementById("afficherIci").innerHTML = x; //document.getElementById("afficherIci").innerHTML = y; </script> </body> </html>