code: public Element createElement(String tagName, String id) {
  		Element element = DOM.createElement(tagName).cast();
  		DOM.setElementAttribute(element, "id", id);
  		return element;
  	}
docs: Creates an HTML element with the given id.
  
  @param tagName
  the HTML tag of the element to be created
  @return the newly-created element