id to a class javascript code example Example: referance html id css <style> #test { /*Styleing here*/ } </style> <h1 id="test"></h1>