\documentclass[A4]{article}

\begin{document}
Hello World!
\end{document}
