[P#1201] HTML Hyphen and Word-Break Control

top of page
Possibilities
Coding Tips, Tricks, and Treasures
(For website owners and developers.)
August 2, 2022
- Issue 1201 -

Will and Mari Bontrager, Publishers
Copyright 2022 Will Bontrager Software LLC


Possibilities

You are subscribed as you
Find unsubscribe information at bottom of newsletter.

Article:

HTML Hyphen and Word-Break Control

(Click to read the newsletter online.)


Prelude:

Hello ,

Thank you —

Thank you for your support during the half-price sale of my books last month. Much appreciated.

~ — O — ~

Still play Wordle? —

The Wordle Hinter provides hints for when you're stumped about what word to test next. Important: The hinter does not solve Wordle. It only provides hints, up to 10 word suggestions for your next play.

The first full sentence under the Wordle header at that page has a link to reveal several places where the game can be played online.

willbontrager.com/…/wordle.php

~ — O — ~

Last week's article —

Resize all web page images in a directory to a maximum width and height.

willmaster.com/…-image-resizing.php

~ — O — ~

This week's article —

(Quick link) You will find ways to control word breaks and their hyphenation for your web pages. While browsers generally do a good-enough job, they don't know everything.

Enjoy the issue, .

Will Bontrager


Possibility:

HTML Hyphen and Word-Break Control

Web browsers usually do fine when it comes to hyphenating content at word breaks — until an unusual situation arises.

Word breaks in this article means words that break at the end of a line of text — the beginning of the word is published at the end of the line and the ending of the word is published at the beginning of the next line.

Unusual situations include narrow columns, extra long words, and words that should not break at their hyphen.

There are several simple things you can do that give you more control over what browsers do with your content when it comes to hyphens or lack thereof. Every method mentioned in this article is included in a box with examples near the end of the article.

The following are in addition to the regular keyboard hyphen.

  1. A non-break hyphen that should not allow a word break.

  2. A soft hyphen, a hyphen that appears only when a word breaks right there.

  3. A hyphenless word break.

Without any of the above, the browser hyphenates according to its defaults and user-specified preferences.

The online article talks about each of the above. And it has examples for easier understanding.

Thank you for reading Possibilities.

~ — O — ~

Recent additions to the Willmaster Blog and Library

Forward Possibilities to
someone who will appreciate it.
Thank you!
sun
@

We suggest and recommend only what we believe is of value. As remuneration for the time and research involved to provide quality material, we sometimes use affiliate links. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.


Addresses, URLs, and Subscription Maintenance:

Click to unsubscribe:
https://www.willmaster.com/possibilities/cmfposs/possmailer_unsubscribe.php?0f452844c528f36b84dcfc5074560ba0

To subscribe: https://www.willmaster.com/possibilities/

Changing email address: First unsubscribe your old address, then subscribe with your new email address.

Will Bontrager Software LLC, Publishers
P.O. Box 153
Lowell, IN 46356
USA

Copyright 2022 Will Bontrager Software LLC


Subscription Record:

Please Note: We do not make our mailing lists publicly accessible. Privacy is precious. We respect yours.

Subscription information:

Email: you

To remove your subscription (to unsubscribe), use this link:
https://www.willmaster.com/possibilities/cmfposs/possmailer_unsubscribe.php?0f452844c528f36b84dcfc5074560ba0

Older messages

[P#1198] Submit Any Form Via Ajax

Wednesday, July 27, 2022

top of page Possibilities Coding Tips, Tricks, and Treasures (For website owners and developers.) July 12, 2022 - Issue 1198 - Will and Mari Bontrager, Publishers Copyright 2022 Will Bontrager Software

[P#1199] Daily Content for Many Websites

Wednesday, July 27, 2022

top of page Possibilities Coding Tips, Tricks, and Treasures (For website owners and developers.) July 19, 2022 - Issue 1199 - Will and Mari Bontrager, Publishers Copyright 2022 Will Bontrager Software

[P#1200] Image Resizing

Wednesday, July 27, 2022

top of page Possibilities Coding Tips, Tricks, and Treasures (For website owners and developers.) July 26, 2022 - Issue 1200 - Will and Mari Bontrager, Publishers Copyright 2022 Will Bontrager Software

You Might Also Like

Youre Overthinking It

Wednesday, January 15, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, January 15, 2025? The

eBook: Software Supply Chain Security for Dummies

Wednesday, January 15, 2025

Free access to this go-to-guide for invaluable insights and practical advice to secure your software supply chain. The Hacker News Software Supply Chain Security for Dummies There is no longer doubt

The 5 biggest AI prompting mistakes

Wednesday, January 15, 2025

✨ Better Pixel photos; How to quit Meta; The next TikTok? -- ZDNET ZDNET Tech Today - US January 15, 2025 ai-prompting-mistakes The five biggest mistakes people make when prompting an AI Ready to

An interactive tour of Go 1.24

Wednesday, January 15, 2025

Plus generating random art, sending emails, and a variety of gopher images you can use. | #​538 — January 15, 2025 Unsub | Web Version Together with Posthog Go Weekly An Interactive Tour of Go 1.24 — A

Spyglass Dispatch: Bromo Sapiens

Wednesday, January 15, 2025

Masculine Startups • The Fall of Xbox • Meta's Misinformation Off Switch • TikTok's Switch Off The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely

The $1.9M client

Wednesday, January 15, 2025

Money matters, but this invisible currency matters more. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

⚙️ Federal data centers

Wednesday, January 15, 2025

Plus: Britain's AI roadmap ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 01/15/2025

Wednesday, January 15, 2025

New blogs from Syncfusion Introducing the New .NET MAUI Bottom Sheet Control By Naveenkumar Sanjeevirayan This blog explains the features of the Bottom Sheet control introduced in the Syncfusion .NET

The Sequence Engineering #469: Llama.cpp is The Framework for High Performce LLM Inference

Wednesday, January 15, 2025

One of the most popular inference framework for LLM apps that care about performance. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

3 Actively Exploited Zero-Day Flaws Patched in Microsoft's Latest Security Update

Wednesday, January 15, 2025

THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and