A Shakespearean sonnet is basically written in iambic pentameter (one unaccented foot of poetry followed by an accented foot).
Each line generally has five accented feet and five unaccented feet. It has four quatrains and a rhymed couplet at the end. A quatrain is a group of four lines.
The rhyme scheme is as follows: abab cdcd efef gg. First and third lines rhyme, second and fourth, and so on.