I have an XHTML-compliant site (don’t we all?). I want to keep it that way--non-negotiable. My MODx install uses TinyMCE, this is negotiable, but I do like TinyMCE. The only problem I have is that named anchors use the "name" attribute which is not XHTML-compliant, the "id" attribute must be used. My page already uses the "id" attribute for the anchors, but TinyMCE will not recognize these as named anchors and when I try to add new anchors, it forces me to use the "name" attribute. How can I get around this or make TinyMCE XHTML-compliant, at least in this regard?
*bump*? Does anyone focus on XHTML-compliancy?
-
☆ A M B ☆
- 2,213 Posts
I suspect the way it’s being done is messed up, but anchors using name are still fine as XHTML S/T/F using a standard link. <a name="anchor"></a> should work and validate just fine. Could you elaborate on the issue?
Reference:
http://www.w3schools.com/tags/tag_a.asp
-
☆ A M B ☆
- 24,524 Posts
And that is precisely why I’ve completely dropped XHTML in favor of HTML5. All of my templates from now on will be HTML5. Besides, it’s a lot of fun to use <article>...</article> tags in Ditto tpls
-
☆ A M B ☆
- 24,524 Posts
Never really paid much attention; I just use a programmer’s editor called Smultron. But then I started out writing assembly language utilities for DOS using EDLIN, so I’m not very discriminating.