Add class device type in html