regresar a menu

Einstein wrote: E = mc2.

The code element does not preserve whitespace and line-breaks.

To fix this, you can put the code element inside a pre element:


var x = 5;
var y = 6;
document.getElementById("demo").innerHTML = x + y;

Programming code example:

var x = 5; var y = 6; document.getElementById("demo").innerHTML = x + y;

The samp element represents sample output from a computer program:

demo.example.com login: Apr 12 09:10:17 Linux 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189

The kbd element represents keyboard input:

File | Open...