Letter Spacing
Letter-spacing is the most important tag in css, with the help of letter-spacing you can increase or decrease gap between letter's.
Let's have an example:-
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
letter-spacing: 2px; /* This increases space between letters */
}
h2 {
letter-spacing: -2px; /* This decrease space between letters */
}
</style>
</head>
<body>
<h1> HyperText Mark up language</h1>
<h2> HyperText Mark up language</h2></body>
</html>
Let's have an example:-
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
letter-spacing: 2px; /* This increases space between letters */
}
h2 {
letter-spacing: -2px; /* This decrease space between letters */
}
</style>
</head>
<body>
<h1> HyperText Mark up language</h1>
<h2> HyperText Mark up language</h2></body>
</html>
Comments
Post a Comment