In network terminology, a header is a series of bytes with a well-defined structure that describe something about the bytes that follow it.

In C and numerous other programming languages a header or header file is a file referenced by other files. It typically defines constructs that are used in several places. By referencing the header, duplication can be avoided.