option rendering of type attributes