Hello world/Markup e formattazione
Di seguito vengono illustrati esempi di Hello world su linguaggi di markup e formattazione.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<p>Hello World!</p>
</body>
</html>
\documentclass{article}
\begin{document}
Hello World!
\end{document}
defaultfont := "Courier"; beginfig(0); label("Hello, world!", (10,10)); endfig; end.
/Courier findfont 24 scalefont setfont 100 100 moveto (Hello World!) show showpage
{\rtf1\ansi\deff0 {\fonttbl {\f0 Courier New;}} \f0\fs20 Hello World! }
\font\HW=cmr10 scaled 3000 \leftline{\HW Hello World} \bye