display attr and content