Currently, I am in the process of quickly marking up my webpage.
One issue I am facing is that I would like my title to be displayed below my <nav>
tag instead of beside it. Can anyone provide guidance on how to achieve this?
Here is the current HTML code snippet:
<nav>
<ui>
<li>item1</li>
<li>item2</li>
<li>item3</li>
</ui>
</nav>
<section id='title'>
<div>title 1</div>
<div>texts here....</div>
</section>
Additionally, here is the CSS styling being used:
nav {
background-color: black;
text-align: center;
}
nav ui li{
list-style: none;
font:bold .6em arial;
float: left;
margin: .3em;
padding: 1.3em;
background-color: #A8A8A8;
}
Currently, the title and texts here... are positioned alongside my menu items. How can I modify my code to have them appear below the menu instead?