homepage Welcome to WebmasterWorld Guest from 54.161.200.144
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
<h1><font size=> tags ignored
based on my experience
David_M




msg:177337
 6:36 am on Jul 15, 2003 (gmt 0)

My old page used the combination of <h1><font size=-3>lots of widgets</font></h1>. The text within this tag was ignored.

I have since changed to a css solution and the text is now in the serps.

 

hakre




msg:177338
 7:39 am on Jul 15, 2003 (gmt 0)

so this could be beause of changing to css but you're not shure if it is because of this change?

g1smd




msg:177339
 6:50 pm on Jul 15, 2003 (gmt 0)

I have a #1 site with <h1><font size="+3"><b> ... <b></font></h1> type code. I don't see any problem.

agerhart




msg:177340
 6:53 pm on Jul 15, 2003 (gmt 0)

>>>>I have a #1 site with <h1><font size="+3"><b> ... <b></font></h1> type code. I don't see any problem.

Ditto, I have yet to see this cause a problem. Sure it isn't something else?

WarmGlow




msg:177341
 8:19 pm on Jul 15, 2003 (gmt 0)

My old page used the combination of <h1><font size=-3>lots of widgets</font></h1>. The text within this tag was ignored.

David,

Google did not ignore the text. It applied a value to the text as instructed by you.

<font size equals minus three>

David_M




msg:177342
 3:45 am on Jul 16, 2003 (gmt 0)

Google did not ignore the text. It applied a value to the text as instructed by you.
<font size equals minus three>

Ah, I see. I had thought that <font size> was ignored by google.

Thanks for clearing that up.

europeforvisitors




msg:177343
 6:07 am on Jul 16, 2003 (gmt 0)

Google did not ignore the text. It applied a value to the text as instructed by you.

HTML is a structural markup language, and the <h1> and </h2> tags indicate a structural element: a top-level headline. That value shouldn't change because of a presentational element such as <font> and </font> tags.

WarmGlow




msg:177344
 11:33 am on Jul 16, 2003 (gmt 0)

HTML is a structural markup language, and the <h1> and </h2> tags indicate a structural element: a top-level headline. That value shouldn't change because of a presentational element such as <font> and </font> tags.

europeforvisitors,

Nice theory but it does not work in practice. Create a new HTML document with the following lines and then view the document in your web browser.

<html>
<head>
<title>Font Size Test</title>
</head>
<body text="#000000" bgcolor="#ffffff">
<h1><font size="-3">This Is Not Important Text</font></h1>
<h2><font size="+3">This Is Important Text</font></h2>
<blockquote>Google gets it right.</blockquote>
</body>
</html>

Pricey




msg:177345
 12:20 pm on Jul 16, 2003 (gmt 0)

I have my H1 set as:

h1 { color: black; font-style: italic; font-weight: bold; font-size: 15px; font-family: Arial; margin-bottom: 0px;margin-top: 0px;margin: 0px; }

As just using <h1> puts a big border around itself. Works for me really well.

CSS all the way baby yeah!

toolkit




msg:177346
 2:37 pm on Jul 16, 2003 (gmt 0)

margin-bottom: 0px;margin-top: 0px;margin: 0px;

Wouldn't margin: 0px; just do the same?

dnbjason




msg:177347
 2:43 pm on Jul 16, 2003 (gmt 0)

So what would be the best way to use the CSS:

<H1><span class=h1>Keyword Title</span></H1>

or

<H1 class=h1>Keyword Title</H1>

Pricey




msg:177348
 4:33 pm on Jul 16, 2003 (gmt 0)

toolkit: You are quite right. Its just my lame codeing :P

If you define a style for h1, you do not neet to specify a class for it in the tag. It will automatically pick that up. So you only need <h1>, unless you are planning to use several different styles for it throughout your page; in which case you would use <h1 class="foo">text</h1>

Hope this helps! :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved