\documentclass{article}
\newlength{\mymargin}
\setlength{\mymargin}{\textwidth}
\addtolength{\mymargin}{-1in}
\begin{document}
% This will start 1 inch from the right side
\noindent\hspace*{\mymargin}Hello world.
% another way of doing the same
\begin{flushright}
\parbox{1in}{Hello world.}
\end{flushright}
% This will be all the way against the right
\begin{flushright}
Hello world.
\end{flushright}
% This will end with one inch left
\begin{flushright}
Hello world.\hspace*{1in}
\end{flushright}
% A tabbling environment; \= sets a tab stop; \> jumps to it
\begin{tabbing}
My name \hspace{1in} \= My ID \\
My address \> My phone number
\end{tabbing}
% This will push the two elements as far apart as possible
\noindent My name \hfill My ID
\noindent My address \hfill My phone number
\end{document}