Hi,
How should I label matching div tags in a long piece of code? Useful when trying to find a coding error.
I can do this
I don't know how to label the closing </div> tags.
In wordpress php I do this
which looks very cumbersome.
How should I label matching div tags in a long piece of code? Useful when trying to find a coding error.
I can do this
Code:
<div id="level1"> <div id="level2"> </div> </div>
In wordpress php I do this
Code:
<div id="level1"> <div id="level2"> </div> </div> <?php /*level1*/ ?>
Comment