<html>
<head>
<meta charset="utf-8">
<title>Inline example: Spans with content</title>
</head>
<body>
<div id="container">
<span>One</span>
<span>Two</span>
<span>Three</span><br/>
<span>
This begins on a new line,</br>
as does this.
</span>
</div>
</body>
</html>
body {
font-family: Helvetica, sans-serif;
line-height: 24px;
}
span {
background-color: lavenderblush;
border: 1px solid black;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.