LaTeX provides commands for inserting characters that have a special meaning do not correspond to simple characters you can type.
inputenc
\rule
\today
© 2007–2018 Karl BerryPublic Domain Software http://latexref.xyz/Special-insertions.html