Govt.approved online version here.
Full version with theory supplement and downloadable pdf version here.
Although the Highway Code is not statutory law, certain parts of it attract criminal convictions if not adhered to. The Highway Code tends to identify these rules with the words MUST/MUST NOT and in most cases will give the relevant piece of statutory law from which the rule derives.
Although not adhering to the other rules will not, of itself, result in a criminal prosecution, failure to observe those rules may be used in court proceedings to establish liability.
The Highway Code applies to all road users; road is defined in Scotland by the Roads (Scotland) Act 1984 s.151(1):
There are certain sections which apply exclusively to motorcyclists and are reproduced below;