I am writing a quiz in HTML and I would like to insert a consistent blank vertical space between questions (like one would use vspace{3 cm}
in LaTeX).
For example:
<html>
<body>
<p>
This is the first question?
<!-- This is where I want about 3 cm of space -->
</p>
<p>
This is the second question?
<!-- This is where I want about 3 cm of space -->
</p>
</body>
</html>
Is there a straightforward way of doing this using just HTML and CSS?
How can I insert vertical blank space into an HTML document?
Read up some on CSS. It's fun: CSS: em, px, pt, cm, in…
<style>
.bottom-three {
margin-bottom: 3cm;
}
</style>
<p class="bottom-three">
This is the first question?
</p>
<p class="bottom-three">
This is the second question?
</p>