How To Set An Attribute In Javascript What Is A Block