A standard is a document that specifies the characteristics of a product, process or service, such as dimensions, safety aspects, and performance requirements.
Code refers to laws or regulations that specify minimum standards to protect public safety and health such as codes for construction of buildings. Voluntary standards are incorporated into building codes
Specifications are a set of conditions and requirements of precise and limited application that provide a detailed description of a procedure, process, material, product, or service for use primarily in procurement and manufacturing. Standards may be referenced or included in specifications.
Technical regulations are mandatory government requirements that define the characteristics and/or the performance requirements of a product, service or process (see also Regulation).