• I’m using the Twenty Twelve theme in single-column layout for http://gamesoffame.wordpress.com

    I notice that the HTML it generates includes several H1’s and H2’s. Among the H1’s are both the blog name at the top of the screen and the page title below it.

    This is SEO death! The name of the blog should definitely not be H1’ed. I think an H2 with a suitable class/css would fix this right up.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi

    you could change it in style.css and the corresponding .php-file

    but don’t overestimate SEO (imho)

    rangi

    The OP’s site is on WordPress.COM – files CANNOT be modified there! It’s also NEVER a good idea to modify theme files except using a child theme.

    Also, this is not an “SEO death” – see:

    oops, it’s on wp.com, then this is true. and child-theme is allways a good idea!

    Unless you don’t believe Matt Cutts:

    How do Google and Bing understand responsive mobile design? Duane: Yes. Working on updating SEO rules in their webmaster tools to allow for HTML 5 changes such as multiple H1 tags. Websites need to be sure the searcher can get right to the content they want on their mobile device. Matt: Responsive design is great when done well.

    http://www.virante.org/blog/2013/03/11/matt-cutts-duane-forresters-excellent-adventure-the-search-police-at-smx-west/

    Look at theme Underscores _s – they use h1’s pretty extensively, because semantically it is OK.

    Thread Starter maurymarkowitz

    (@maurymarkowitz)

    The point is being avoided here it seems…

    Long and short, H1 should be used to indicate the “main title” of the page. There should generally not be more than one H1.

    H1 is not “make text bigger”. That is a style change, and should be handled in CSS. Using H1 abuses the HTML and removes semantic content.

    Twenty Twelve uses all of the H tags seemingly at random, as style notes. This is bad. Bad bad bad.

    Long and short, H1 should be used to indicate the “main title” of the page.

    No, H1 should indicate main title of the section. So Header can have H1, Sidebar can have H1, Content, Footer… Twenty Twelve is HTML5 theme, so it uses HTML5 semantics.

    It’s a HTML5 semantics thing, using headings inside sectioning elements, and using h1 for the first heading inside of each sectioning element for consistency, sanity, and portability (you can move that block of code around the document and the heading will always be correctly nested).

    https://github.com/Automattic/_s/pull/66#issuecomment-8263534

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    HTML5 (what the Web is evolving into) encourages the use of multiple heading level 1 elements, just as Tomas explained.

    Google didn’t have anything against multiple heading level 1 elements even in HTML4 http://www.youtube.com/watch?v=GIn5qJKU8VM

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    This thread’s not getting anywhere because the OP isn’t looking for support & isn’t looking in the right forum – Closing.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Bad HTML in Twenty Twelve’ is closed to new replies.