Which doctype should I use for GWT 2.0?
问题 I think I should use <!DOCTYPE html> for my new GWT application; I understand that doing so will put my application into standards-compliant mode. Am I correct? Are there any disadvantages to using this doctype? Does GWT work properly in standards-compliant mode? I'm wary because the GWT tutorial still uses the HTML 4.01 transitional doctype. 回答1: The new layout panel functionality in GWT 2.0 requires standards mode and does not work in quirks mode. 回答2: Using <!DOCTYPE html> will put the web