Absence, leave, compulsory school (skolplikt) – what rules apply in school?

Absence, leave, compulsory school (skolplikt) – what rules apply in school? English version