HTML CSS examples for CSS Widget:Nav Bar
Using semantic HTML nav bar
<html lang="en"> <head> <style> header {<!--from ww w . j a v a 2s .c o m--> background:dodgerblue; padding:31px; width:100%; display:flex; justify-content:center; align-items:center; } </style> </head> <body translate="no"> <header> <nav> <a>Lorem </a> <a>Lorem </a> <a>Lorem </a> <a>Lorem </a> </nav> </header> </body> </html>