Home > Net >  How have a cursive font in HTML, I want it to look handwritten?
How have a cursive font in HTML, I want it to look handwritten?

Time:06-10

<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:

Using google fonts (Here

Google Font:

Here

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.

  • Related