Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 02-17-2006, 05:44 PM font size - newbie
Novice Talker

Posts: 5
Trades: 0
This is my first time programming with html.I know it is a silly question. I cant seem to get the font size to go bigger for my tittle. This is what i wrote:

<h2>IQ Test</h2>

Can anyone point out anything wrong with it? Thank you for your help.
ichliebedich is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-17-2006, 06:29 PM Re: font size - newbie
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
If you want to just use html you would want to use the font tag and then the size attribute to change the font size. The code might look something like:

<h2><font size="7">IQ Test</font></h2>

Using <font> though isn't really the best way to do what you want though. html is really meant to be used to structure your document. css should be used to style it.

I'm not sure how much css you know if any, but the equivalent css to the <font> tag above would look like:

<h2 style="font-size:24px">IQ Test</h2>

The sizes 24px and 7 aren't the same. I picked both arbitrarily just to show you how it might be done.

Ideally you would have all your css in a separate file or at the very least in the <head> of your file. What I showed above is called an inline style and it will work fine (again you'd have to play around with the actual size you use to get the effect you want)

You can find a good intro reference to both html and css at w3chools the tutorials there are a quick read and pretty easy to understand.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to font size - newbie
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75227 seconds with 12 queries