Font-style: This property has three values: If a typeface consists of more than one word, we should write the typeface into the quotation marks.įont-family:Georgia, Palatino, "Times New Roman" įont Stacks: It is good practice to supply a list of alternative fonts.ġ. Specify some different fonts for three paragraphs:įont-family: "Times New Roman", Times, serif įont-family: Arial, Helvetica, sans-serif įont-family: "Lucida Console", "Courier New", monospace In CSS, we use the font-family property to specify the font of a text. (such as Brush Script MT Lucida Handwriting )įantasy fonts are decorative/playful fonts.( such as Copperplate, Papyrus) (such as Courier New,Lucida Console, Monaco etc.)Ĭursive fonts imitate human handwriting. Monospace fonts - here all the letters have the same fixed width. They create a modern and minimalistic look. Sans-serif fonts have clean lines (no small strokes attached). (Such as Times New Roman, Georgia, Garamond etc.) They create a sense of formality and elegance. Serif fonts have a small stroke at the edges of each letter. In CSS there are five general font families. To select a typeface we should use the font-family property. Because of that choosing the right font is a significant part of how the readers experience a website. Typography and font size are so important while creating a web page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |