You are on page 1of 5

3.

1 Formatting Text
HTML Formatting is a process of formatting text for better look and feel. HTML
provides us ability to format text without using CSS. There are many formatting
tags in HTML. These tags are used to make text bold, italicized, or underlined.

3.1.1 Fonts,Web Fonts, and Google Web Fonts

Example of Web fonts

 Arial (sans-serif) Arial is the most widely used font for both online and printed
media. Arial is also the default font in Google Docs. Arial is one of the safest web
fonts, and it is available on all major operating systems.
 Verdana (sans-serif) Verdana is a very popular font. Verdana is easily readable
even for small font sizes.
 Helvetica (sans-serif)The Helvetica font is loved by designers. It is suitable for
many types of business.
 Times New Roman (serif) Times New Roman is one of the most recognizable
fonts in the world. It looks professional and is used in many newspapers and
"news" websites. It is also the primary font for Windows devices and applications.
 Brush Script MT (cursive)The Brush Script MT font was designed to mimic
handwriting. It is elegant and sophisticated, but can be hard to read. Use it
carefully.
Google Fonts is an invaluable resource for digital designers, the open source nature of
its fonts makes it a viable option for both commercial and personal use. With it being a
Google tool, Accessibility is of course key, with its high quality selection of web and
mobile typography, taking into account legibility and readability.
3.1.2. Text Colors and Size
To change the font size in HTML, use the style attribute. The style attribute
specifies an inline style for an element. The attribute is used with the
HTML <p> tag, with the CSS property font-size. HTML5 do not support the
<font> tag, so the CSS style is used to add font size.

Font Colors Font Size

..
3.1.3 Text Shadow

The text-shadow property adds shadow to text. This property


accepts a comma-separated list of shadows to be applied to the
text.

You might also like