https:\/\/html.spec.whatwg.org\/multipage\/<\/a>.<\/li><\/ul>\n\n\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"CSS-Tricks has covered how to break text that overflows its container before, but not much as much as you might think. Back in 2012, Chris penned \u201cHandling Long Words and URLs (Forcing Breaks, Hyphenation, Ellipsis, etc)\u201d and it is still one of only a few posts on the topic, including his 2018 follow-up \u201cWhere Lines […]<\/p>\n","protected":false},"author":281753,"featured_media":270484,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"Better Line Breaks for Long URLs by @reubenlillie","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4],"tags":[18907,18905,1057,18906],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/05\/line-break.jpg?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":269613,"url":"https:\/\/css-tricks.com\/where-lines-break-is-complicated-heres-all-the-related-css-and-html\/","url_meta":{"origin":336014,"position":0},"title":"Where Lines Break is Complicated. Here’s all the Related CSS and HTML.","date":"May 9, 2018","format":false,"excerpt":"Say you have a really long word within some text inside an element that isn't wide enough to hold it. A common cause of that is a long URL finding it's way into copy. What happens? It depends on the CSS. How that CSS is controlling the layout and what\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/05\/line-break.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":19473,"url":"https:\/\/css-tricks.com\/css-hypenation\/","url_meta":{"origin":336014,"position":1},"title":"CSS Hypenation","date":"December 18, 2012","format":false,"excerpt":"PPK: Hyphenation works! Eric Meyer on places to avoid it. In my own experience in the CSS-Tricks v10 redesign, at one point I had hyphenation turned on everywhere and got loads of complaints of certain versions of Firefox over-hyphenating things. Nearly every other sentence had a hyphenated word where it\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20576,"url":"https:\/\/css-tricks.com\/finer-grained-control-of-hyphenation\/","url_meta":{"origin":336014,"position":2},"title":"Finer Grained Control of Hyphenation","date":"March 14, 2013","format":false,"excerpt":"David Storey shows off the latest work-in-progress CSS Level 4 stuff for hyphenation. Like properties to make sure multiple subsequent lines don't hyphenate (\"ladders\"), how many characters need to be left on the old line and new line, and what character to hyphenate with.","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":314876,"url":"https:\/\/css-tricks.com\/when-a-line-doesnt-break\/","url_meta":{"origin":336014,"position":3},"title":"When a Line Doesn\u2019t Break","date":"July 2, 2020","format":false,"excerpt":"We expect a line to break when the text on that line reaches the parent box boundaries. We see this every time we create a paragraph, just like this one. When the parent box doesn\u2019t have enough room for the next word in a line, it breaks it and moves\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/07\/line-breaks.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":279,"url":"https:\/\/css-tricks.com\/quick-css-trick-using-span-to-break-up-words-in-urls\/","url_meta":{"origin":336014,"position":4},"title":"Quick CSS Trick: Using Span to Break Up Words in URLS","date":"November 3, 2007","format":false,"excerpt":"My buddy Jermayn recently wrote a post (update: offline now) about best practices for writing out URLs with multiple words. This got me thinking there could be an easy way to do this with CSS just using the simple tag. Let's say you have a URL with three words like\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1335,"url":"https:\/\/css-tricks.com\/links-of-interest-54\/","url_meta":{"origin":336014,"position":5},"title":"Links of Interest","date":"November 11, 2008","format":false,"excerpt":"wp-Hyphenate Using justified text on the web has long been tricky, as lines could sometimes be rendered with god-awful word spacing. This is due in large part to the fact that rendering engines aren't smart enough by themselves to know when and where to hyphenate a word. The wp-Hyphenate aims\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"featured_media_src_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/05\/line-break.jpg?fit=1024%2C512&ssl=1","_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/336014"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/281753"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=336014"}],"version-history":[{"count":10,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/336014\/revisions"}],"predecessor-version":[{"id":336031,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/336014\/revisions\/336031"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/270484"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=336014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=336014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=336014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}