Skip to main content
deleted 5 characters in body
Source Link
Martijn
  • 6.8k
  • 18
  • 36

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

  • If you wrapWrapping the header around the anchor, you create a large anchor, only: Only the text will beis clickable.
  • When you wrapWrapping the anchor around the header, the: The whole line get'sheader row turns clickable.

I've made you an example on jsFiddle.net

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

  • Wrapping the header around the anchor: Only the text is clickable.
  • Wrapping the anchor around the header: The whole header row turns clickable.

I've made you an example on jsFiddle.net

added 11 characters in body
Source Link
Martijn
  • 6.8k
  • 18
  • 36

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

Commonmark migration
Source Link

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

#It's not a choice of validness, but a preference in User Interface:

It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

#It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value.

It's not a choice of validness, but a preference in User Interface:

  • If you wrap the header around the anchor, you create a large anchor, only the text will be clickable.
  • When you wrap the anchor around the header, the whole line get's clickable.

I've made you an example on jsFiddle.net

deleted 28 characters in body
Source Link
Martijn
  • 6.8k
  • 18
  • 36
Loading
added 3 characters in body
Source Link
Martijn
  • 6.8k
  • 18
  • 36
Loading
added 87 characters in body
Source Link
Martijn
  • 6.8k
  • 18
  • 36
Loading
Source Link
Martijn
  • 6.8k
  • 18
  • 36
Loading