why can't I just use HTML HTML is a very simplistic way to code and lay down style, and though you use it a lot, css is generally much, much more efficent and has many more usues.
in HTML, you know that the basic font code is just read as font, /font. in CSS, which stands for Cascading Style Script, you want to say that atributes of the font will be defined by CSS, so to begin, your code should look like this:
in between the quotes in font style="" are where your CSS variables will go. let's look at a few basic ones...
this will make a font that's size 15px, green and color, and in Tahoma. it'll look like so:
let's look at a few other attributes:
there are a lot of elements in there, so let's try go get through them all. that code will create everything it did before, plus a 2px solid (try dotted, dashed, etc) black border on the bottom (you can also use border-top, border-right, etc). the letter spacing will move all the letters much closer together than normal, hence the negative, but you could also increase the number and make them further apart. the word spacing will separate the words. the font weight is a way to make it bold, and the background color variable gives the text a white background.
with that code, it should look like this:
go-scarecrow.net