0
How to underline a particular list??
For example if i have to underline first list what should i use
4 Réponses
+ 2
if you want only the first item, the CSS is :
li:first-child {
text-decoration:underline;
}
+ 1
Define a specific class in your css sheet and use it for your first list :
css :
.first{text-decoration:underline;}
html :
<li class="first>
+ 1
so does it means that the solution to this question lies in CSS. if yes then you have to learn CSS.
0
Okay thank yu