ARTICLE

Web Fonts

Posted by Amit Patel Articles | .NET 4.5 August 13, 2012
Now we can get fonts from the web.
Reader Level:

Good news for Web Developers, now developers need not worry about fonts. Now fonts are easily available for use. We need to perform only a few steps to get it done in our website.

Step 1: Go to http://www.google.com/webfonts Url.

Step 2:  Find an appropriate font you like.

1.png

 

Step 3:  Now we will choose the font:

2.png

Step 4:  We can use a font link which is showing in the preceding image and use it on your web page.
<
link
href='http://fonts.googleapis.com/css?family=Ruslan+Display&subset=latin,latin-ext,cyrillic'
rel='stylesheet'
type='text/css'/>

<style>
       h1 { font-family'Ruslan Display', cursive;font-size:50px;color:White; }
</style>

<h1>My New Web Fonts</h1>

Step 5: Now we will see the output, as in:

3.png

Happy Coding..

Login to add your contents and source code to this article
post comment
     

Thanks Mahesh.

Posted by Amit Patel Aug 14, 2012

This is nice Amit. Good stuff.

Posted by Mahesh Chand Aug 13, 2012
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Join a Chapter
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Get Career Advice from Experts