add deck attributes to html