<!DOCTYPE html> | |
<style> | |
div > div { | |
border: thin solid black; | |
font-family: 'Courier New'; | |
} | |
</style> | |
<div lang="en-us"> | |
<p>Do not hyphenate the last word in a paragraph. | |
<div style="width: 15ch">This is<br>hyphenation</div> | |
<div style="width: 15ch">This is<br>hyphenation</div> | |
<p>Do hyphenate single word. | |
<div style="width: 8ch">hyphen-<br>ation</div> | |
<div style="width: 8ch">hyphen-<br>ation</div> | |
</div> |