vspace{3 cm}
HTMLでクイズを書いているのですが、質問の間に一定の空白を挿入したいです(ラテックス)。
例えば:
<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>
HTML と CSS だけを使用してこれを行う簡単な方法はありますか?
HTML ドキュメントに垂直の空白を挿入するにはどうすればよいでしょうか?
ベストアンサー1
CSS について少し読んでみてください。楽しいですよ。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>