Basically to avoid tax you need to live for 7 years AFTER giving the gift.
It says on that web site
The seven-year rule - 'potentially exempt transfers'
Any gifts you make to individuals will be exempt from Inheritance Tax as long as you live for seven years after making the gift. These sorts of gifts are known as 'Potentially Exempt Transfers' (PETs).
However if you give an asset away at any time, but keep an interest in it - for example you give your house away but continue to live in it rent-free - this gift will not be a potentially exempt transfer. Follow the link below to find out more.
If you die within seven years and the total value of gifts you made is less than the Inheritance Tax threshold, then the value of the gifts is added to your estate and any tax due is paid out of the estate.
However, if you die within seven years of making a gift and the gift is valued at more than the Inheritance Tax threshold, Inheritance Tax will need to be paid on its value, either by the person receiving the gift or by the representatives of the estate.
If you die between three and seven years after making a gift, and the total value of gifts that you made is over the threshold, any Inheritance Tax due on the gift is reduced on a sliding scale. This is known as 'Taper Relief'.