+18 votes
by (510 points)
Hello SEOs, I have a quick question for those who knows HTML. So I am aware of some websites optimizing their keywords by using H2 and H3 in paragraphs. Do anyone know how to input H2/H3 into a paragraph without changing the size and font of the H2/h3?  
Hello SEOs, I have a quick question for those who knows HTML.

13 Answers

+11 votes
by (390 points)
I mean. the point of using h tags is to format your content in a way that makes sense. If you're just using it to stuff a bunch of keywords inside, don't bother. In other words - the text in h tags should have a different size than your regular <p> tag text
+1 vote
by (2.1k points)
Yes just add a class to the h tag and then style that class to a font size in px or em - or hack it and put a style tag inside the h tag and hard code the font size to what you want
+1 vote
by (2.1k points)
Im on mobile its midnight but something like this. <h2 class="smallh2">text </h2> Then in css file . smallh2 { Font-size:0. 8em; } Or hack it <h2 style="font-size:0. 8em;"> </h2>  Coding on a mobile sucks  
by (510 points)
Dean, thank you very much for the tips.  
+4 votes
by (2k points)
Well it’s bad practice cause is supposed to draw attention naturally. But enter the world of CSS mate.  
0 votes
by (780 points)
Add a table of contents plugin once you have added those h2/3 in your paragraphs and you will see how much of a mess things look when a bot tries to read it. Just use headings as structure to the post with a few kws in them, it is all you need to do
+4 votes
by (2.5k points)
I wouldn't bother and it might end up hurting you
+5 votes
by (1.7k points)
Heading tags are used for headings. Main Heading <h1> * Once* Sub-Heading <h2> * Once* Rest all Sub-Headings we use H3 tag Keeping in mind this is for a blog post reference.  
+5 votes
by (14.3k points)
Please tell me, you want those tags to be also inlined, as part of normal paragraphs?  
+7 votes
by (970 points)
I always thought Googlebot had a way of telling when headings had been styled to look like paragraph text. Perhaps I'm giving it too much credit.  
by (970 points)
@rumania : Over & above bots, Google appoints folks to manually audit random samples of sites. CSS - tricks usually get exposed during such audits :)
+17 votes
by (3.6k points)
All you telling him not to do it are so full of shit your mommas would be ashamed. Styling is an individual preference on a site and he can make his H2's any size, shape, color he wants, Google could give two fucks less.  
by (1.2k points)
@bowyer673 the issue isn't styling hx elements, it's embedding hx elements within a p element.  
by (460 points)
I was waiting for your comment @bowyer673 hahah  I knew exactly the words you're going to say lol Can't he just put a whole paragraph in h3 for example and then reduce the size of it to make it look like just another bold text on his page?! I think it's prettt easy to do that in Elementor :)
by (3.6k points)
Yeah he could, it wouldn't hurt or help anything, but he could.  
by (3.6k points)
And you can put a h tag dead center of your paragraph if you want, it's a styling shortcut, and if it had a keyword in it, that wouldn't trigger any negative effects.  
+6 votes
by (280 points)
3 different ways you can enter your CSS. Find what suits you best. W3schools. com
+9 votes
by (1.2k points)
It is not recommended to do so but you can do that using inline CSS i. e. <h2 style=“font-size: 16px; font-weight: normal”>This is a heading</h2>
0 votes
by (330 points)
Redefine h2 h3 in css
The Search Engine Optimization Group is where you can always find questions, answers, advice, reviews & recommendations from other community members about better strategy on ranking highly for search engine results.
...