"Code" , "standard" , and "norm" are often used about interchangeably in my time zone .
Definition of code ; (REF Merriam-Webster Dictionary )
1: a systematic statement of a body of law especially : one given statutory force
2: a system of principles or rules moral code
Another definition for construction regulation : ( ref. energy supply and pipeline transp.)
Legal documents that regulate construction to protect the health, safety, and welfare
of people. Codes establish minimum standards but do not guarantee efficiency or quality.
API 650 is standard but API 650 11th ed is also CODE . ( Legally binding doc. and Criminal penalties may apply for noncompliance.) ( ref
)
API 653 is standard but API 653 3rd ed is registered as a code (
)
API 12F is a specification but also a code..
ASCE 7 is standard for Minimum Design Loads for Buildings and Other Structure but also code
ASME BPVC, NEC, UBC.. Some of the Hammurabi laws are codes..
But in my time zone, API 650,653, 12F are only standards .
EDIT: The first page of the following doc . shows that API 650 is a
CODE , incorporated into government regulations and is legally binding document . the third page defines API 650 is a standard ( released as a standard ..by API )