function msg(){
var p=document.createElement("p");
var Text=document.createTextNode("Hello!");
p.appendChild(Text);
document.body.appendChild(p);
}
msg();