<p font-family = "">John Smith <p>
I want the above to look like a handwritten signature any font that are in cursive for HTML that work?
CodePudding user response:
Google Font:
Most fonts will be TrueType Font file format (.ttf
) or OpenType Font format (.otf
).
Then just declare it in your stylesheet, like:
@font-face { font-family: LoveRabbit; src: url('LoveRabbit.ttf'); } /* Change your URL to the right directory. */
Then use it anywhere, like:
h1 {
font-family: LoveRabbit;
}
That's all.