Can comments appear before the DOCTYPE declaration?
Asked 2009-06-02T18:21:19.310
74
I would like to place a comment (<!-- this --> style) at the very top of my HTML code, preceding the DOCTYPE declaration. Does this conform to the standards? Is it supported by the major browsers? Are there any pitfalls in doing this?