Mobile app version of vmapp.org
Login or Join
Kaufman445

: Which element (h2, p, em) for this text? (SEO vs. correct formatting) What is the correct tag to use in the middle section of the image below, keeping in mind correct site structure and SEO?

@Kaufman445

Posted in: #Html #Seo

What is the correct tag to use in the middle section of the image below, keeping in mind correct site structure and SEO?



There have been some discussions and these are the arguments I have heard:


h2 option

Using an h2 will improve SEO rankings
p option

It should be a paragraph. Headings should be used for structure, and the sentence does not define the structure of the page.
em option

The sentence should be emphasized.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

3 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

Using a heading (like h2) for this sentence would create a wrong outline. Everything that follows would be in scope of this "heading", which is likely not what you intend. If it would be content appropriate for a heading, it should be part of the first heading (h1).
(It’s not appropriate for a heading because it doesn’t seem to describe the content that follows in any other way than what the parent heading says; it’s just giving more context to it.)

Using the em element for the whole sentence would be wrong, because it doesn’t at all seem to require "emphasis" which "changes the meaning of the sentence". You could argue if the word "vital" might be appropriate for em, but that’s something only the authors of that sentence would have to decide (i.e., how they meant it).

The p element is the obvious and appropriate choice here.

If you consider this sentence to be part of the introduction (I think it is), you could use a header that contains the h1 as well as this p:

<article>
<header>
<h1>Marketing Bachelor’s Degree</h1>
<p>Attain the marketing skills … </p>
</header>
<p>Fueled by …</p>
</article>


If you think it’s something like the lede (or lead paragraph) of that article, you could also use the b element for this sentence (in addition to p and possibly the header):


The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as […] an article lede.

10% popularity Vote Up Vote Down


 

@Nickens628

Due to the length of the text in the middle section, the paragraph tag would be a good choice. Just enclose the text in-between <p> and </p>.

If you feel there is a need to add emphasis to the text, then use cascading style sheets.

10% popularity Vote Up Vote Down


 

@Gretchen104

I'd lean towards the H2 tag as it is actually a single line of text, not a paragraph (so not p).

That said, I think it's too long a line.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme