setting html  structure like Ray