A mezuzah is two chapters from the Torah handwritten, in Hebrew,
on parchment paper.

The inscribed chapters are Deuteronomy 6:4-9 the Shema Yisroel
and Deuteronomy 11:13-21 the Vehaya.

The parchment is rolled into a scroll and placed inside a case that
is affixed to a doorpost.

The mezuzah is the parchment not the case. An empty case, or
a scroll printed on a computer, does not qualify as a mezuzah.

How to hang a mezuzah

Mezuzahs should be placed on the upper third of a doorpost
on the right side, as one enters the home. They should be securely attached,
at an angle, with the top pointed towards the inside of the room.

It is customary when entering or leaving a residence to touch the mezuzah
case.

If you move, be sure to take your Jewish mezuzah(s) with you.

Some say mezuzahs are placed at an angle because the rabbis
could not agree - if they should be horizontal or vertical - so they
compromised.