Welcome to WebmasterWorld Guest from 54.205.75.60

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)

10+ Year Member



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 Jul 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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 Jul 15, 2003 (gmt 0)

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



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 Jul 15, 2003 (gmt 0)

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



>>>>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 Jul 15, 2003 (gmt 0)

10+ Year Member



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 Jul 16, 2003 (gmt 0)

10+ Year Member



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 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.

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

10+ Year Member



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 Jul 16, 2003 (gmt 0)

10+ Year Member



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 Jul 16, 2003 (gmt 0)

10+ Year Member



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

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

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

10+ Year Member



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 Jul 16, 2003 (gmt 0)

10+ Year Member



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! :)