Top: Web Development: CSS Stylesheets : CSS Fonts beginers
CSS Fonts beginers
CSS font family is the type of font used for rendering text similar to the fonts you select in word processors such as Microsoft Word. Georgia serif font Georgia serif font Verdana sans-serif font Verdana sans-serif font They can be divided into 2 families: serif fonts with little details on the ends of some strokes and sans-serif fonts without those decorations. Serif fonts are easier to read on paper due to the higher resolution making the small decorations clearly visible. For computer screens on the other hand sans-serif fonts have shown to have better readability unless the font size is very big such as headings. The fonts you specify can only be used if they're installed on the user's system. Because of this there's only a handful of safe web fonts that will work across all systems. There's little point in using special-looking fonts that won't be displayed correctly 99.9% of the time. To change fonts you can use the font-family property with font names as comma-separated values. Note that font names containing spaces such as new times roman should be wrapped in quotes "new times roman". CSS font-family: * body {font-family:arial} * strong {font-family:georgia} Display: This is some arial text with some georgia in-between. It's good practice to always provide one of the generic fonts such as serif or sans-serif at the end of your font-family statement in case everything else fails: CSS generic fonts: * body {font-family:verdana,kalimati,sans-serif} * h1 {font-family:georgia,"new times roman",serif} Web-safe fonts Here's a list of web-safe fonts you can use for your website that will usually work cross-platform: Serif font Display times,"times new roman" The quick brown fox jumps over the lazy dog georgia The quick brown fox jumps over the lazy dog serif The quick brown fox jumps over the lazy dog Sans-serif font Display arial The quick brown fox jumps over the lazy dog helvetica The quick brown fox jumps over the lazy dog verdana The quick brown fox jumps over the lazy dog sans-serif The quick brown fox jumps over the lazy dog Monospace font Display "courier new",courier The quick brown fox jumps over the lazy dog monospace The quick brown fox jumps over the lazy dog
ADVERTISMENT
More CSS Stylesheets Tutorials for Web Development
Top: Web Development: CSS Stylesheets: Advanced CSS layout !
Top: Web Development: CSS Stylesheets: CSS Text Styles
Top: Web Development: CSS Stylesheets: Explosion Strobe Effect
Top: Web Development: CSS Stylesheets: css menu sssssssssss
Top: Web Development: CSS Stylesheets: CSS Syntax and properties
Top: Web Development: CSS Stylesheets: CSS Colors and background colors
Top: Web Development: CSS Stylesheets: CSS background image guide
Top: Web Development: CSS Stylesheets: How to change fonts with CSS
Top: Web Development: CSS Stylesheets: Full CSS tutorial
Top: Web Development: CSS Stylesheets: Joomla template design with YAML
» Hardware reviews
SOFTutorials
- » Add a tutorial (and get rewarded)
- » Login
- » Register (3D Kingdom)
- » About/FAQ/Contact
Highest Rated
![]() |
5 Ways to Put PowerPoint Presentation on Web - 5 ways to guide you to put PowerPoint presentation on Web and share with ot...
Rated: |
![]() |
Dodge and Burn with more control painting with soft light photoshop tutorial. - In this tutorial we will apply the same effect as dodging and burning but w...
Rated: |
![]() |
Recover detail from highlights and exposed skin photoshop tutorial. - In this tutorial we’re going to recover detail from the skin area and have ...
Rated: |
![]() |
HOW TO ENHANCE EYES IN PHOTOSHOP - This photoshop tutorial will show you a fast technique to enhance eyes and ...
Rated: |
Most Popular
![]() |
Improving capture performance in Windows Movie Maker - Easiest way to improve Capture performance in Windows MovieMaker. Follow th...
Rated: |
![]() |
V-ray Glass Material - If you want very realistic render you need to use V-ray Render plugin. In t...
Rated: |
![]() |
Getting Started with PowerPoint - This tutorial describes tasks that you do almost every time you run the pro...
Rated: |
![]() |
The Matrix Raining Code Video Tutorial - Tutorial showing how to create and animate the raining code effect from the...
Rated: |








No comments at this moment