In LaTeX, you can draw frames around many different elements. The following examples demonstrate how to achieve this for typical elements.
\documentclass[a4paper]{article} \begin{document} \fbox{Frame around a plain text.} \end{document}
\documentclass[a4paper]{article} \usepackage{xcolor} \begin{document} \fcolorbox{red}{white}{A red frame around a plain text.} \end{document}
\documentclass[a4paper]{article} \begin{document} \fbox{\parbox{\linewidth}{Lorem ipsum dolor sit amet, consectetur adipiscing elit.}} \end{document}
\documentclass[a4paper]{article} \usepackage{xcolor} \begin{document} \fcolorbox{red}{white}{\parbox{\linewidth}{Lorem ipsum dolor sit amet, consectetur adipiscing elit.}} \end{document}
\documentclass[a4paper]{article} \begin{document} \fbox{ \begin{tabular}{lll} A & B & C \\ 1 & 2 & 3 \\ \end{tabular} } \end{document}
\documentclass[a4paper]{article} \usepackage{xcolor} \begin{document} \fcolorbox{red}{white}{ \begin{tabular}{lll} A & B & C \\ 1 & 2 & 3 \\ \end{tabular} } \end{document}
\documentclass[a4paper]{article} \begin{document} With fbox: \fbox{$a^{2} + b^{2} = c^{2}$} \end{document}
\documentclass[a4paper]{article} \usepackage{amsmath} \begin{document} With boxed: \boxed{a^{2} + b^{2} = c^{2}} \end{document}
\documentclass[a4paper]{article} \usepackage{xcolor} \begin{document} \fcolorbox{red}{white}{$a^{2} + b^{2} = c^{2}$} \end{document}
\documentclass[a4paper]{article} \begin{document} \fbox{ \parbox{0.5\linewidth}{ \begin{itemize} \item Itemize \item Bullet 1 \item Bullet 2 \end{itemize}} } \fbox{ \parbox{0.5\linewidth}{ \begin{enumerate} \item Enumeration \item Item \item Item \end{enumerate}} } \end{document}
\documentclass[a4paper]{article} \usepackage{xcolor} \begin{document} % Red frame around enumerate environment \fcolorbox{red}{white}{ \parbox{0.5\textwidth}{ \begin{enumerate} \item Enumeration \item Item \item Item \end{enumerate}} } % Blue frame around enumerate environment \fcolorbox{blue}{white}{ \parbox{0.5\textwidth}{ \begin{enumerate} \item Enumeration \item Item \item Item \end{enumerate}} } \end{document}