<li>my car is a bmw</li> <li>my other car is a tesla</li> <li>don't I wish</li> <ul> <li>chevrolet</li> <li>pontiac</li> <li>nissan</li> </ul> <ol> <li>chevrolet</li> <li>pontiac</li> <li>nissan</li> </ol> </body> </html>
Here, I am playing with lists and I’ve enclosed a screenshot of the result in the browser.
The first block of code is simply a list.
The second - an unordered list.
The last - an ordered list.
I am wondering whether using - li - ul - ol - automatically outputs the result in italics because I thought that italics are the output ONLY when the list is bracketed by - em - tags. I was expecting a regular font in the lists - the italics were a surprise.