output array

tags are output individually, styles separate with commas and spaces.