Adscend

Click Here



Click Here



Click Here

Sunday 8 September 2013

Font Size

HTML Font Size

We can change the size of the text through the headline tag<h1>.
If we use <h1> tag, all the text will be changed and there will be a paragraph breaks before and after the text.
So if we need to change portion of the text then we can not use <h1> tag ,instead we can use font size tag.
To change font size text, <font size=n>...,</font>
n is font size. Font size is a number between 1 and 7. Default font size is 3.

Example: 1

<html>
<head>
<title>Font Size</title>
</head>
<body>
<font size=1> Font sixe of this text is 1</font><br />
<font size=2> Font sixe of this text is 2</font><br />
<font size=3> Font sixe of this text is 3</font><br />
<font size=4> Font sixe of this text is 4</font><br />
<font size=5> Font sixe of this text is 5</font><br />
<font size=6> Font sixe of this text is 6</font><br />
<font size=7> Font sixe of this text is 7</font><br />
</body>
</html>

Output

Font size of this text is 1
Font size of this text is 2
Font size of this text is 3
Font size of this text is 4
Font size of this text is 5
Font size of this text is 6
Font size of this text is 7

Example: 2

<html>
<head>
<title>Font Size</title>
</head>
<body>
Frustration and anxiety indicates <font size=5> our distance from God. </font>
Whenever I feel anxious I will turn to prayer. I will bring myself closer to God.
</body>
</html>

Output

Frustration and anxiety indicates our distance from God. Whenever I feel anxious I will turn to prayer. I will bring myself closer to God.



No comments:

Post a Comment