In: Computer Science
What style property sets the kerning of the text within an element?
letter-spacing
word-spacing
kerning-size
kerning
Before answering about the kerning property we should understand the meaning of kerning.
Kerning: Kerning can be defined as the spacing between the letters in a word. Using this kerning feature letters can be spaced appropriately or uniformly which makes it look beautiful and easy to read.
font-kerning is the property that sets the kerning of the text within an element. It is a CSS property.
Syntax of font-kerning
font-kerning : normal | auto | none
font-kerning gives 3 property values:
Auto: In this property, the browser defines whether to apply kerning property or not.
Normal: Normal property simply tells that kerning property has been applied in that particular element
None: None property simply tells that kerning has been applied in that element.
Example of font kerning:
<HTML>
<Head>
<style>
div {
font-kerning : auto;
}
</style>
</Head>
<body>
<div>
<p> THIS IS A KERNING TEXT SAMPLE </p>
</div>
</body>
</HTML>