Is there #Region code for HTML


In VB and C# there are #Region ... #endRegion and have it collapsable. Is there a similar way to do this in HTML?

Right now I just have comments blocking where the different elements are on my HTML page, but I would like to have a single collapse point instead of all of the <tr> <td> and <div> tags collapsed.


This indeed depends on the IDE, just noticed today that the newest version of the free Web Essentials 2012 plugin for Visual Studio has added region support in HTML.

  <!--#region main  -->

  <!--#endregion -->

Answered By – BigBlondeViking

Answer Checked By – Cary Denson (AngularFixing Admin)

Leave a Reply

Your email address will not be published.