Answer
Muscles are attached to bones by extensions of their connective tissue components. There are two classes of attachments, indirect attachments and direct attachments.
Indirect attachments
In this class of attachment the muscle ends a short macroscopic distance from the bone. and the space between is bridged by fibrous sheet called a tendon.
This kind of attachment is exemplified by the attachment of the biceps brachii to the scapula(or humerus) and the attachment of the flexor carpi radialis to the base of the second metacarpal. Collagen fibers of the muscle wrappings extend into the tendon; connective tissue fibers enter the periosteal covering of the bone. This provides a very strong attachment that resists tearing
Work Step by Step
Direct attachment
In this kind of attachment there is also a space between bone and muscle , but in this case the space is microscopic. To the naked eye the muscle smems to attach to the bone directly, However , microscopic examination shows that this is not the case. The muscle fibers stop just short of the bone and the space is filled by collagen fibers