Welcome to WebmasterWorld Guest from 54.226.133.245

Forum Moderators: open

Message Too Old, No Replies

<h1><font size=> tags ignored

based on my experience

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

Full Member

10+ Year Member

joined:Mar 7, 2003
posts:301
votes: 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.

7:39 am on July 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 7, 2003
posts:1230
votes: 0


so this could be beause of changing to css but you're not shure if it is because of this change?
6:50 pm on July 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


I have a #1 site with <h1><font size="+3"><b> ... <b></font></h1> type code. I don't see any problem.
6:53 pm on July 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member agerhart is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 29, 2001
posts:2945
votes: 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?

8:19 pm on July 15, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 23, 2003
posts:77
votes: 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>

3:45 am on July 16, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Mar 7, 2003
posts:301
votes: 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.

6:07 am on July 16, 2003 (gmt 0)

Senior Member

joined:Oct 27, 2001
posts:10210
votes: 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.

11:33 am on July 16, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 23, 2003
posts:77
votes: 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>
12:20 pm on July 16, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 21, 2003
posts:176
votes: 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!

2:37 pm on July 16, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 6, 2003
posts:74
votes: 0


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

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

2:43 pm on July 16, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 19, 2003
posts:83
votes: 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>

4:33 pm on July 16, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 21, 2003
posts:176
votes: 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! :)

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members