"Codecademy Summary" Html+css font

Source: Internet
Author: User

The default typeface for all HTML elements is times New Roman.

Exmaple as use of the font typeface: font-family: "Courier New";

Different typefaces of types as:

1.serif-traditionally used in print designs, as they has been considered easier to read in long paragraphs of text. Like Times New Roman and Georgia.

2.sans Serif-can look better and is easier to read. Like Arial and Helvetica.

When the stylesheer specifies a font isn't installed on user's computer, the pre-installed fonts can be used as fallback Fon TS for users.

Exmaple as fallback fonts typeface as:font-family:garamond, times, serif;

Google offers Google Fonts, a firectory of thousands of Open-source Fonts. To use a Google font,you can with a <link>element in HTML file.

For exmaple, we use Raleway typeface:

< link href=

< Span class= "Cm-attribute" data-reactid= "one" >

< Link href=type=<" Span class= "cm-string" data-reactid= "+" "Text/css"  

 

< Span class= "Cm-tag" data-reactid= "9" >

< span> for exmaple, we use this:

Font-size:1.3em

font-size:150%

    

"Codecademy Summary" Html+css font

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.