{ "@context": "https://schema.org", "@id": "https://webspecification.com/spec/foundations/text-wrap.jsonld", "@graph": [ { "@type": "TechArticle", "@id": "https://webspecification.com/spec/foundations/text-wrap/#article", "headline": "Balanced text wrapping", "description": "Let the browser break headings and body copy intelligently with text-wrap: balance and pretty — no orphaned words, no manual line breaks, no layout shift.", "url": "https://webspecification.com/spec/foundations/text-wrap/", "inLanguage": "en", "isPartOf": { "@type": "WebSite", "@id": "https://webspecification.com/#website", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "author": { "@type": "Person", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "publisher": { "@type": "Organization", "@id": "https://webspecification.com/#organization", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "license": "https://creativecommons.org/licenses/by/4.0/", "dateModified": "2026-06-25T00:00:00.000Z", "citation": [ { "@type": "CreativeWork", "name": "CSS Text Module Level 4 — the text-wrap shorthand", "url": "https://drafts.csswg.org/css-text-4/#text-wrap", "publisher": { "@type": "Organization", "name": "W3C CSS Working Group" } }, { "@type": "CreativeWork", "name": "MDN — text-wrap", "url": "https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-wrap", "publisher": { "@type": "Organization", "name": "MDN" } }, { "@type": "CreativeWork", "name": "CSS text-wrap: balance", "url": "https://developer.chrome.com/docs/css-ui/css-text-wrap-balance", "publisher": { "@type": "Organization", "name": "Chrome for Developers" } }, { "@type": "CreativeWork", "name": "Better typography with text-wrap: pretty", "url": "https://webkit.org/blog/16547/better-typography-with-text-wrap-pretty/", "publisher": { "@type": "Organization", "name": "WebKit" } } ] }, { "@type": "BreadcrumbList", "@id": "https://webspecification.com/spec/foundations/text-wrap/#breadcrumb", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://webspecification.com/" }, { "@type": "ListItem", "position": 2, "name": "Spec", "item": "https://webspecification.com/spec/" }, { "@type": "ListItem", "position": 3, "name": "Foundations", "item": "https://webspecification.com/spec/foundations/" }, { "@type": "ListItem", "position": 4, "name": "Balanced text wrapping", "item": "https://webspecification.com/spec/foundations/text-wrap/" } ] } ] }