Can a 14-year-old get engaged to a 17-year-old in the UK?

There's nothing against the law in a 14 year old getting engaged but marriage will not be able to take place until she is at least 16 and this is with her parents full permission.Without her parents permission she can get married at 18 years old.