Added required attribute to HTML elements