Warning-free HTML Hello World

This code gives a simple HTML Hello World page that is parsed fully corrected through any HTML validator, namely the official one, the W3 validator, and without any errors nor warnings. It is the smallest piece of HTML code that runs without any warnings nor errors. It is good for pedagogical reasons, as one can see what are the HTML elements that are always mandatory, and it is also good for test purposes.

 <!DOCTYPE html>
 <html>
   <head>
     <title>This is title</title>
   </head>
   <body>
     Hello world
   </body>
 </html>

Sem comentários:

Enviar um comentário