SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jun 2012
    Location
    Bangladesh
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    face tag & font-family tag

    What is the difference between "face" tag and "font-family" tag in HTML ?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,316
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    @font-face { } lets you reference fonts that you have stored on your own server (font that you want to apear on your site but which many users may not have installed on their own computer.

    font-family is a property that you use to list the fonts you want to use on your site. You need to use it whether or not you are using @font-face.

    Try Googling these questions. All this info is already online.

  3. #3
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    The first FONT element attribute; 'face', is deprecated - for a good reason - and done via markup the latter 'font-family' is achieved via CSS styling.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •