Just Ask Matt - Answers

Changing the Font & Style of Your H1 Tags

QUESTION: (Rhonda) I am having problems changing the font size of my H1text. Is this very important? If so, how do I go about changing it?

Changing the text and/or style of an H1 tag is simple in CSS.  It does not affect anything other than how the visitor sees it though (i.e., if you use a large font, it means nothing more than a smaller font, in SEO terms or how Google sees it).

You can change the H1 tag locally or in the CSS definition file.

If you want to change all of the H1 tag settings in your entire website, you would do this in the CSS file:

h1 {
font-size: 24px;
}

You would use the h1 tag as you normally would:
<h1>This is my H1 tag</h1>

You can define a class in the CSS file which allows you to define your new style whenever you wish anywhere on the site:

.h1style {
font-size: 24px;
}

You would add this class to your h1 tag, when you wish it:

<h1 class=”h1style”>This is my H1 Tag</h1>

* Remember to add the “.” when defining it in the CSS to classify it as a class.

Finally, you can do it locally using a style attribute (without the CSS file):

<h1 style=”font-size:24px;”>This is my H1 Tag</h1>

All of the above do the exact same thing.  Their use is based on how often you use the style and how you want it defined (whether globally or locally).

Also, remember you can add other styles to the same definition (like color):

<h1 style=”font-size:24px; color:red;”>This is my H1 Tag that is Red and 24px high</h1>

I find that being able to change the styles of my text for header and other standard tags to be quite invaluable!  Knowing a little bit of CSS can go a long way.  Give this a try!

The easiest thing to try first is the local definition using the style attribute. If this is working for you, consider creating or editing your own CSS file!

Good luck!  cheers…matt


Read Full Post >>
More Questions & Answers...
GOT A QUESTION?

Who is Behind Marketing Mind?

Matthew Bredel begin_of_the_skype_highlighting     end_of_the_skype_highlightingMy name is Matthew Bredel and as of March, 2007, I am a full-time, work-at-home internet marketer. For close to 10 years, I worked for a defense company which was an OK job, but I was so uninspired in life and frankly, I needed some more money. That is when I first discovered internet marketing! Now I admit that I didn't start making thousands in my first couple of months (in fact, I lost my shirt!), but I finally saw the "internet light"...

Read More about Matthew Bredel
GURU STUFF END -->

Share This Post...

In my last post, I wrote about the importance of using Google Sitemaps to measure the effectiveness of your SEO efforts. I kind of simply stated: “Just create your XML site map, up-load it to your server, and you are ready to go!” Well, some of you wrote me and said “huh?” [...]

In my last post, I wrote about the importance of using Google Sitemaps to measure the effectiveness of your SEO efforts. I kind of simply stated: “Just create your XML site map, up-load it to your server, and you are ready to go!” Well, some of you wrote me and said “huh?”

  • “Create an XML sitemap?”
  • “How the heck am I going to do that?”
  • “What is XML? Is it similar to HTML?”
  • “My site has hundreds of pages, I don’t have time!”

Sorry! Sorry! Sorry! I kind of threw that out there too fast, didn’t I? Believe it or not, it really is quite simple to do. No, you don’t even need to know XML to do it, either. And yes, it is very similar to HTML in structure, just simplied. Still, you really don’t need to know a thing about XML to set this up. Here is the trick! Go to:

http://www.xml-sitemaps.com/

This website will essentially create the entire sitemap for you. All you need to do is put you main website address in the box and it will literally spider your entire account (to multiple levels of depth) and output the XML for you, in the format that Google Sitemaps accepts. It really is too easy! (Yes, for some sites, the spider may take a little while, but it is a good excuse to go and get another cup of coffee!).

So all you have to do it first verify that you are the owner of the website by uploading an empty file with the filename that Google Sitemaps provides you. Once the site is verified, add a new sitemap using the file that XML-Sitemaps has created. And you are done! The sitemap may take up to an hour to get read and useable results usually won’t start appearing for a week or so (or until your site gets spidered again). Still, this simple 10 minute excerise will provide you with GOBS AND GOBS of information about your website for free! And I hear rumors that there are a lot more tools being added soon, too.

- Matthew Bredel

Don't Buy Another Money Making Product Until You Watch These FREE Videos!

First Name:
Email:

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>