What is a property of all rectangles?

A.
A rectangle only has two right angles.

B.
The opposite sides of a rectangle are parallel.

C.
The diagonals of a rectangle are not congruent.

D.
The four sides of a rectangle are congruent.