Tuesday 18 November 2014

How to Change Font Size in Html

Structure of the Problem Requirements 

In this problem we will discuss about some text Property. One of the most important property of text is to change the font of the Text because some people have problem in eye sight they don't see text that font is less than 10. So when we Design a web site its own us to set the text font as user need. to change the font color we use fontsize property in html. Here is the source code of this web page which help you in better understanding. 

SOURCE CODE



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>  HTML Font Change </title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<h1> HTML Font Change </h1>
<font size="5" > There is 5 Font Size </font></br>
<font size="15"> There is 15 Font Size </font></br>
<font size="105"> There is 105 Font Size </font></br>
</body>
</html>

OUTPUT OF THE PROGRAM


Html font Size
Html font Size

Share it Please
asad

About Author!

Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.

1 comments: Post Yours! Read Comment Policy!▼
Important Note:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.