I am trying to create a div and insert a component into the div by as follows and have not been successful. What is it that I am doing incorrectly?
HorizontalPanel hp = new HorizontalPanel();
Html myHtml = new Html("<div id=\"htmlDiv\""></div>");
Label myLabel = new Label("Name");