Thursday, September 22, 2011

How to change a font size in html? a challange?

i have html web page with h1 and h2 its showing bold fonts. How can i change the size to 18 and where should i type the command please help thank u so muchHow to change a font size in html? a challange?
Put this in your %26lt;head%26gt;:



%26lt;style%26gt;

h1 {font-size:18px;}

%26lt;/style%26gt;How to change a font size in html? a challange?
%26lt;text%26gt;%26lt;font size=';18pt';%26gt;type here%26lt;/text%26gt;

this is the HTML version, but I would recommend learning CSS. it makes thing soo much smoother
Try this link: http://www.htmlcodetutorial.com/_FONT.ht
%26lt;font style=';font-size: 18pt';%26gt;My Text%26lt;/font%26gt;

%26lt;span style=';font-size: 18pt';%26gt;My Text%26lt;/span%26gt;

%26lt;div style=';font-size: 18pt';%26gt;My Text%26lt;/div%26gt;

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.