1

I wonder if the word "Anwendungsupdates" can be splitted in 2 separated words like: "Anwendungs updates" or it would be a grammatical error.

To be more specific, the problem I have is that this word is long, so it breaks the following table because of that word.

If it's not possible to split that word, how would you solve the issue? (So far, my best idea is to make the font smaller)

screenshot tables

2
  • 7
    Hyphenation is the next best answer. In any language
    – tofro
    Oct 22, 2020 at 14:01
  • Is the question about finding the syllables, or how to do that in HTML? In the latter case this is the wrong place to ask, in the former it can be simply found out using a dictionary. Oct 22, 2020 at 18:51

1 Answer 1

5

The ideal way to do this in HTML is to either use a hyphenation engine (many browsers support hyphenation natively when activated in CSS, for details please google, this is out of scope for this SE), or to manually include soft hyphen characters ­ in the HTML in long words.

    Anwendungs­updates

The soft hyphen character is normally invisible, but the HTML engine will split the word with a hyphen if needed.

Resize your browser window to test it here:

Anwendungs­updates Anwendungs­updates Anwendungs­updates Anwendungs­updates Anwendungs­updates Anwendungs­updates Anwendungs­updates

To just split it into two words Anwendungs Updates is indeed incorrect in German. You could decompose it into something like "Updates für die Anwendung" but you should know what you're doing for this to fit the context.

3
  • WOW! I didn't expect such as perfect answer. I confirm the HTML code is working perfectly!! Thanks :)
    – chelder
    Oct 22, 2020 at 18:50
  • @chelder: well it's a pretty common problem in German as you can imagine... :-)
    – HalvarF
    Oct 22, 2020 at 19:03
  • Note that hyphens: auto has good support and hints are only needed for extra control over placement of the hyphens. See this online example Sep 8, 2022 at 15:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.