Free Widget Codes
Changing Font Size in a Webpage
The simple way to change the font size of any particular portion of the content is by using size attribute of HTML <FONT> tag. Below is an example how <FONT> tag is used to increase the size of the content.
HTML code for the same is:
Dynamically Changing Font Size
The static loading of increased font size like above may disturb the user experience. Hence the other simple way is to dynamically change the font size of a content without going back to the server. The font size will only change whenever the visitor moves the mouse over it which provides better user experience. Here is the widget code for changing font size dynamically on mouse over.
And the result of the above code is:
Here, the fontsize is used as 25px when the mouse is moved on the text and 20px when the mouse is moved out of the text. You can change this to any desired size in order to align with your site content.