Quick links
Latest articles
Internship
Members
New...
Algorithms
Discrete Mathematics
Big data
Languages
C
C++
C++ STL
Java
Data Structure
C#.Net
Android
Kotlin
SQL
Web
PHP
Python
JavaScript
CSS
Ajax
Node.js
Web prog.
Programs
C
C++
DS
Java
C#
Python
Aptitude
C
C++
Java
DBMS
Interview
C
Embedded C
Java
SEO
HR
CS Subjects
CS Basics
O.S.
Networks
DBMS
Embedded Systems
Cloud Computing
Machine learning
CS Organizations
Linux
DOS
More...
Articles
Puzzles
News/Updates

Home » HTML

Fonts Reference | HTML



HTML | Font Reference: Here, we are going to learn about the fonts in HTML, how to use the fonts, what are the different variations of the fonts?
Submitted by Akash Kumar, on November 05, 2018

Fonts are basically platformed dependent or in simple words, we can say that they are specific to the platform. We will have different look and feel of a web page on different machines running on different operating systems such as Windows, IOS, Linux, Unix etc.

From HTML version 4.0 onwards fonts are set through CSS because font tag is deprecated from it.

A simple syntax of setting font of a body in HTML document as follows.

    body {
       font-family: "Arial";
    }  

Example:

<!DOCTYPE html>
<html>

<head>
    <title>Font Setting Using CSS</title>
</head>

<body>
    <p>Here We are changing the style.</p>
    <div style="font-family:arial;">INCLUDEHELP!!!</div>
    <br />
    <div style="font-size:125%;">INCLUDEHELP!!!</div>
    <br />
    <div style="font-size:24pt;">INCLUDEHELP!!!</div>
</body>

</html>

Basic Fonts for Microsoft System

Following are some of the basic fonts supported by Microsoft System:

  1. Arial
  2. Arial Black
  3. Arial Bold
  4. Georgia Bold Italic
  5. Times New Roman
  6. Comic Sans MS Bold
  7. Courier New Italic
  8. Tahoma
  9. Trebuchet MS Bold Italic
  10. Webdings

Basic Fonts for Macintosh Systems

Following are some of the basic fonts supported by Macintosh System:

  1. Herculanum
  2. Papyrus
  3. Hoefler Text Ornaments
  4. Big Caslon
  5. Marker Felt
  6. Copperplate
  7. Andale Mono
  8. Palatino
  9. Zapf Dingbats
  10. Comic Sans MS

Basic Fonts for Unix Systems

  1. Terminal
  2. Lucida bright
  3. Courier
  4. Utopia
  5. Times
  6. New Century Schoolbook
  7. Fixed
  8. Charter
  9. Helvetica
  10. Lucida Typewriter





Quick links:
C FAQ(s) C Advance programs C/C++ Tips & Tricks Puzzles JavaScript CSS Python Linux Commands PHP Android Articles More...

Featured post:
Introduction to Linux (Its modes, Safety, Most popular Applications)
Linux Best Distribution Software (Distros) of 2018

Was this page helpful? Please share with your friends...

Are you a blogger? Join our Blogging forum.

Comments and Discussions



Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing » Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates



© https://www.includehelp.com (2015-2018), Some rights reserved.