<!DOCTYPE html>
<html>
<head>
<style>
body {
display: inline;
}
p {
display: inherit;
</style>
</head>
<body>
<p>These two paragraphs generates inline boxes, and it results in</p>
<p>no distance between the two elements.</p>
</body>
</html>