Why should I use HTML5 semantic web elements in a internal application? Semantic elements seem to be good for search engines to detect which elements are specific to navigation, articles, etc. What will I gain if I use these elements in client-only HTML-based applications?
Possible gains:
Possible drawbacks:
Basically,
<header>
<hgroup>
<h1>Logo and Application Title</h1>
<h2>Clever Slogan</h2>
</hgroup>
<nav>
<ul>
<li>Home</li>
<li>About</li>
<li>Contact</li>
<li>Test</li>
<li>Stuff</li>
</ul>
</nav>
</header>
Looks better than...
<div id="header">
<div class="top_logo">
<h1>Logo and Application Title</h1>
<h2>Clever Slogan</h2>
</div>
<div class="navigation">
<ul>
<li>Home</li>
<li>About</li>
<li>Contact</li>
<li>Test</li>
<li>Stuff</li>
</ul>
</div>
</div>
Also in styles
<style type="text/css">
header hgroup {}
header nav li {}
</style>
Looks better than
<style type="text/css">
#header .top_logo {}
#header .navigation li {}
</style>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With