Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

top bar html

<!--The below code presents a header containing title + nav bar-->
<header>
	<div class="container container-flex">
		<div class="site-title">
        	<h1>Living the social life</h1>
          	<p class="subtitle">A blog exploring minimalism in life</p>
        </div>
        <nav>
        	<ul>
            	<li><a href="index.html" class="current-page">Home</a></li>
            	<li><a href="about-me.html">About me</a></li>
            	<li><a href="recent-posts.html">Recent posts</a></li>
          	</ul>
        </nav>
    </div> <!-- / .container -->
 </header>
 
PREVIOUS NEXT
Tagged: #top #bar #html
ADD COMMENT
Topic
Name
5+3 =