Is it okay to do this?
so I can use JavaScript to d
According to HTML 4.01 Transitional, id, class are document-wide selectors, and thus it is ok to have them in the link element.
id
class
link