Search w3schools.com:

SHARE THIS PAGE

CSS Reference

CSS Reference CSS Selectors CSS Reference Aural CSS Web Safe Fonts CSS Units CSS Colors CSS Color Values CSS Color Names CSS Color HEX CSS3 Browser Support

CSS Properties

CSS3 text-emphasis Property

CSS Reference Complete CSS Reference

Example

Justification changes spacing at word separators (feil eksempel):

p
{
text-align:justify;
text-justify:inter-word;
}

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The text-emphasis property is not supported in any of the major browsers.


Definition and Usage

The text-emphasis property is a shorthand for setting text-emphasis-style and text-emphasis-color in one declaration.

Tip: A good font for emphasis marks is Adobe's "Kenten Generic OpenType Font", which is specially designed for the emphasis marks.

Default value: none
Inherited: yes
Version: CSS3
JavaScript syntax: object.style.textEmphasis="filled blue"


Syntax

text-emphasis: text-emphasis-style text-emphasis-color;

Value Description
text-emphasis-style Applies emphasis marks to the element's text
text-emphasis-color Defines the foreground color of the emphasis marks


CSS Reference Complete CSS Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]