Purpose of using Subheader & Subfooter


#1

I’d like to ask you what’s a difference between using :

<ion-header/footer-bar class="bar bar-subheader/footer"> (JavaScript UI)

<div class="bar-header/footer/subheader/subfooter"> (CSS Components)

And actualy the purpose of using Subheader & Subfooter.

Because i have a Search input, and a Menu (list) that i want to introduce into those two elements.

Thanking you …