با html و جاوا راحت ترین کار همین هست . گوگل هم نمیبینه چیزی از اون متن رو . (فتچ کردم نشون نداد چیزی)
با html خالی نمیشه باید php هم اضافه کرد بهش یا جاوا


کد:

<!DOCTYPE html>
<html>
    <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
<body>
    



<h2>JavaScript Prompt</h2>

<p id="demo"></p>

<script>
$( document ).ready(function() {
  var txt;
  var person = prompt("نام خود را وارد نمایید!");
  if (person == null || person == "") {
    alert("ورود غیر مجاز");
  } else {
    txt = 'موارد مورد نظر از جمله html';
    document.getElementById("demo").innerHTML = txt;
  }
  
});
</script>

</body>
</html>