updated example to show treatment of class and styles as s attributes