how can i display first 3list data instead of displaying all data in ul li using Html and css only? : <ul>
<li>Karnataka</li>
<li>Assam</li>
<li>Gujarath</li>
<li>Westbengal</li>
<li>Karnataka</li>
<li>Assam</li>
<li>Gujarath</li>
<li>Westbengal</li>
<li>Karnataka</li>
<li>Assam</li>
<li>Gujarath</li>
<li>Westbengal</li>
</ul>
in this i have to display first three data.