Specifies whether or not words in a sentence can be split by the use of a manual or automatic hyphenation mechanism.
Overview tablemanual
hyphens: auto
hyphens: manual
hyphens: none
­
) can be inserted on the desired place.
lang
attribute for example), a User Agent can determine the correct place to break a word.
Sets the hyphens property different on each of the paragraph elements.
p:nth-child(1) {
hyphens: none;
}
p:nth-child(2) {
hyphens: manual;
}
p:nth-child(3) {
hyphens: auto;
}
Usage
When hyphenation is not pre-set in a document, the default value for the hyphens property might not suit all cases. In cases where the language is properly set in the document, the hyphenation dictionaries provided in user agents can be able to break up words on the best possible place for each line.
The overall effect is that sentences run along almost the complete width of the box, and therefor can be slightly less high as end result.
NotesNote that not all languages are supported by browsers which support the value auto
for this property.
hyphens: none | manual | auto
hyphens
Mozilla Developer Network : Article
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4