Forum Moderators: open

Message Too Old, No Replies

H tags

         

vanekpavel

10:33 am on Jul 11, 2002 (gmt 0)

10+ Year Member



Hi
Would you recomedd instead of using <font size=" "> to rather hardly use H1 - H5 tags to get a better ranking in SEs

ukgimp

11:02 am on Jul 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello V

There are a few things you need to consider. The use of various formatting tags is very useful but you need to tie that in with other elements in your page. The H1 tag can look awful as well so if you used CSS (cascading style sheets) you could format those elements so that they looked who you wanted them to.

Here is a tutorial on CSS.
[w3schools.com...]

Lets say your page is about widgets.

Your main page should probably have a main headline in a H1 tag that is formatted using the CSS and following that chuncks of text about the widget. The text must read well to the human but you need to try and introduces the word widget a few times. So an example:

The History of Widgets in Widgetry (this H1)

The practice of widgetry has long been governed by the grandmaster Widget who for many years has lived in a hole. (this normal text <p>)

Another paragraph blah blah.

Now you have the main content of your page you need to introduce a good title and set of meta tags.

Another link
[w3.org...]

So in the case of this page:

<title>Widget History</title>

Then you need to create meta tags for the description and keywords. These are not as essential as they once used to be due to people ramming keywords multiple times.

So a description may read “The history of widgets and the grandmaster widget” and the keywords “widget, widgetry, grand master”.

So in answer to your question, do use H1, H2 and <P> etc, don’t however think you can make it all H1, the search engines are not stupid. Keep the H’s to titles and subtitle and the main content as normal text and format those in your CSS.

HTH

Richard

chris_f

12:10 pm on Jul 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The problem with H tags is that they automatically put a carrige return in. Therefore, you cannot use H1 and carry on with non H1 text because it will put the text on a new line. I have never come across a way of switching this off using css.

Chris.

Nick_W

12:16 pm on Jul 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here ya go chris:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<?xml version="1.0"? encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<style type="text/css">
h1 {
display: inline;
}
</style>
<title>{title}</title>
</head>
<body>
<h1>I'm an h1 tag</h1> But I'm just regular text. How do I look, am
I <em>inline</em> or not?
</body>

</html>

Nick

chris_f

12:41 pm on Jul 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Nick,

Would you believe I've been looking for this for probably over a year and a half. Why did I never ask here? All the time I've been surfing and I never thought of it. I must be going brain dead.

Chris.