I am pretty new in WordPress development and I have the following doubt about how the sidebar are putted into a WordPress theme.
Looking into the official documentation: http://codex.wordpress.org/Function_Reference/dynamic_sidebar
I see some example, as:
<?php if ( is_active_sidebar( 'left-sidebar' ) ) : ?> <ul id="sidebar"> <?php dynamic_sidebar( 'left-sidebar' ); ?> </ul> <?php endif; ?>
Ok, my doubt is: why it put the dynamic_sidebar() call into an ul tag?
Why inside an ul tag and not into a standard container as a div? Are there a specific reason? What am I missing?