Yes, you can enclose HTML tags within comments, and the browser will not display them. In fact, it’s common to use comments to temporarily hide sections of a page, especially when testing things. Programmers (and web developers) generally refer to this as “commenting it out.”
- Structuring Your HTML
tag the general-purpose tag for use when styling a page?