<!DOCTYPE html>
<html>
<head>

<style type="text/css">
.colored {
    background-color: yellow;
    padding: 16px;
}
</style>
</head>

<div><span>AB </span><span class="colored">  </span></div>

</body>
</html>
