Forum Moderators: not2easy
<h1>Page about Widgets</h1>
<p>
<h2>widgets</h2> is one of the most useful terms in Webmaster World.Everybody in those forums use them as example in all kind of situations. So, we have to be thankful about <h3>widgets</h3>.We use them all the time and it works.
</p>
Wich is the code I have to use to get it as "normal" text?
(the example could sound a little spammy but my that's not my real intention ;-)
Thanks in advance!
Having said that, I will direct you to a similar thread from a few days ago which will teach you how to style these, and also the difference between block tags (h1, h2, p, etc) and inline tags (em, span, strong, etc).
[webmasterworld.com...]
Unfortunately what you are wanting to do may not produce the desired results. <h> tags are supposed to be used in a certain way to obtain the greatest visibility. What you are proposing is not the correct way to utilize them based on my research.
But, if you absolutely have to do it...
h2{display:inline;}
.kwd1 {
font-size: 130%;
font-weight: bold;
}
.kwd2 {
color: red;
font-size: 130%;
font-weight: bold;
}
<h1>Page about Widgets</h1>
<p>
<span class="kwd1">widgets</span> is one of the most useful terms in Webmaster World. Everybody in those forums use them as example in all kind of situations. So, we have to be thankful about <span class="kwd2">widgets</span>.We use them all the time and it works.
</p>
But your example would look like this..
Page about Widgets
widgets
is one of the most useful terms in Webmaster World.Everybody in those forums use them as example in all kind of situations. So, we have to be thankful about
widgets
.We use them all the time and it works.
Also I'm not even sure you are allowed to place <h> tags inside a <p>.. it certainly doesn't make any sense to.