Reduce the line spacing between the heading and an unorded list

Hi,
I would like to reduce the line spacing between the heading and an unorded list. Can this be done with css or html?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test</title>
</head>
<body>
Heading
<ul><li>option 1</li>
  <li>option 2 </li>
</ul>
</body>
</html>

Thanks for any feedback or comments.



sabecsAsked:
Who is Participating?
 
arantiusConnect With a Mentor Commented:
In the head:

<style>
ul { margin-top: 0; padding-top: 0; }
</style>
0
 
sabecsAuthor Commented:
Thanks arantius for your help and quick response.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.