html - what is the best practices for the markup structure for a pagination? -
what should best precise markup pagination structure? should tables?, div or span?, simple links or other?
nav style
<nav> <a href="#1">1</a> <a href="#1">2</a> <a href="#1">3</a> </nav>
list style
<ul> <li>1</li> <li>2</li> <li>3</li> </ul>
table style or other?
<table> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </table>
i think have html5 should <nav>
plus <a>
i'm not sure...
i use:
<nav> <ul> <li> ... </li> </ul> </nav>
it makes semantic sense , it's easy style.
Comments
Post a Comment