Using CSS, you can set your text in any point size, the same way that all other print and graphic designers can already. H3 Text SizeĬSS gives you full control over the size of your text. A typical line using this command would be: You can define a list of alternative fonts like we used to do with the tag and as always, you’re advised to leave the last entry as a general family of fonts. The property for defining the typeface (or font, whatever), is font-family.
To change the colour of your text you simply use the property, color, like so:Īs in every part of web design, you can specify the colour as a HEX code or a named colour value.
You’ve already seen this being used in the examples in the preceding tutorials, so you should know it now.