Without <!DOCTYPE html> the following html:
<style>
input { width: 400px; }
span { width: 160px; display: inline-block; }
div { width: 560px; }
</style>
<div>
<span>Slug</span><input type=text placeholder="enter-article-slug-here">
</div>
Renders like this in Chrome and FF:

But when the line <!DOCTYPE html> is included, the html renders like this:

Why is this?