Bones can be classified according to shape into long bones, which have a shaft with two knob-like ends, short bones, which are cube-like, flat bones, which are thin and provide extensive muscle attachment surfaces, and irregular bones, which have varied, complex shapes.