Sunday, November 21, 2010

How to change the font size in a single line in html using header tags?

For ex . i want to have contact details in a bigger font and in the line i should get another sentence with a smaller font . If we i use header tags i am getting it in two different lines. so what is the solution for this ?How to change the font size in a single line in html using header tags?
You simply used header tags - oh boy...How to change the font size in a single line in html using header tags?
if you still would like to use header tags with different sizes, just use different headers. example, %26lt;h1%26gt; would be the biggest font, and %26lt;h6%26gt; would be the smallest font. But if you were to switch to font tags, %26lt;font size = ';7'; %26gt; would be the biggest, and 1 the smallest.
Use font tag inside header tag to make necessary changes.

Next you post such question please be sure to at least post the code you've written so that we can help with the correction.
the easiest way is header tags, h1-h6...

%26lt;h1%26gt;This is the biggest, boldest header!%26lt;/h1%26gt;

%26lt;h3%26gt;The headers range from h1-h6, h1 being the biggest...%26lt;/h3%26gt;

%26lt;h6%26gt;and h6 being the smallest.%26lt;/h6%26gt;

No comments:

Post a Comment