question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exercise about heading tags <h1> ... <h6>, accidentally refers to header tags <header>

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
ShaunSHamiltoncommented, Sep 10, 2021

Both the HTML spec, and Mozilla refer to them as “heading elements”. So, I suggest we stick with that.

We should also take care with mentioning tags versus elements.

  • This is a tag: <h1>
  • This is an element: h1
1reaction
Sembaukecommented, Sep 10, 2021

Thank you for bringing this up @michaelsndr,

I do agree that this is not correct as the header tag refers to some other HTML element.

In the challenge linked, we can change the header tag to heading (or plural) headings. We should also look if there are other challenges that have the same.

@Anurag26 thanks for the quick response, but I would still like to hear the opinions of others.

Read more comments on GitHub >

github_iconTop Results From Across the Web

<h1>–<h6>: The HTML Section Heading elements
The to HTML elements represent six levels of section headings. is ... Tag omission, None, both the starting and ending tag are mandatory....
Read more >
How to Fix Heading Tags? - SEO Site Checkup
Headings are defined with H1 to H6 tags. The H1 tag defines the most important heading on the page (usually, the largest or...
Read more >
HTML Heading Tags Best Practices - Medium
Heading tags have a top-down hierarchy from h1 to h6 ... h1 is used to define the most important heading. h6 is used...
Read more >
Is it bad practice to change the font size for headers (h1 to h6 ...
If you are writing a heading, use the apropiate h tag according to the importance level and change the font size to match...
Read more >
Should You Use H1, H2, or H3 Tags in Blog Posts? - Blogpros
Heading tags are just that; tags for headings and subheadings, or even taglines. They are not meant to enclose full paragraphs or full...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found