Using anchor links functionality from TinyMCE gives invalid HTML 5

Marija Jemuovic
Member since: 2010

When an anchor link is added through TinyMCE editor, the markup is:

<a name="linkName"></a>

This gives a warning when validating HTML on w3c validator. Perhaps we can get id instead of name attribute in the versions to come?

This is the warning:

Line 135, Column 40The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.

…p><strong><a id="Regler" name="Regler"></a>Lorem Ipsum</strong>&nbsp;is simply…
#73255 Jul 11, 2013 15:51