tag createElement as code, properly indicate document prototype method