I am doing an excercise in html coding where I look at a web page and then try to code for that page. The thing that hangs me up is trying to reproduce the cursive font shown here on the second line -
First of all, how do I get it into position under the first e of Develop?
Second, I have come across this table of Web Browser Font Defaults and for Safari (since I am on an iMac using Safari) it is -
So does this mean that I am restricted to Times and Courier only and can’t use the cursive font shown?
I think that the CSS for fonts go like this -
{
font-family: first choice for font, second choice for font, (serif or sans-serif or monospace;
}
so assuming that there really is a cursive font that one can use in Safari, how would I code for the font-family rule in this case?
Thanks for the comment. So you can see how I tried to implement your suggestion by assigning a cursive font family to the h1 content - Home - but as you can see pasted below the code, I still get a standard font for - Home. So maybe you just can’t do cursive for Safari.
Who knew precision mattered?
Seriously, that was the holdup - not getting the font name nailed down correctly. So I ran with your suggestion and tried out the following fonts -
Brush Script MT
Bickley Script LET
SchoolHouse Cursive B
As you can see, the first 2 worked but SCB did not. Still - 2 out of 3 ain’t bad! So I guess the moral of this story is that some weird fonts will work and some wont. It’s a matter of experimentation.
Here is the code for my attempts -