Element 1: a paragraph with a common border property (i.e. thin, solid, black)

Element 2: a paragraph with a curved corners

Element 3: as per Element 2 but set using JavaScript