HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

WYSIWYG editing

Login / Search

 [ Join | More ]
 Add topic 
#20140 (In Topic #4684)


coding oddity

No manual coding was done when this error came up for the preview on a news article.

Standards validation errors

XHTML: An unknown attribute ('align') was found in the tag <h1>. at line 1, character 19
XHTML: An unknown attribute ('align') was found in the tag <h1>.
1    <h1 align="center"><span style=" font-size: 4em;">Sorcerer's Chronicle</span></h1><a name="title__140"></a>
2    <h2>Kidnapped child of Sorcerer and Witch decent!</h2>
4    <img style="vertical-align: bottom" src="Dorian1.jpg" title="current sketch of Dorian" alt="current sketch of Dorian" />Our story begin
Back to the top

It's unfortunate that whatever browser you're using has an internal HTML editing component (which the WYSIWYG editor uses, but doesn't control) that uses deprecated html-attributes.
You can, however, choose to not preview with validation.

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top

All this is telling you is that the HTML you've generated somehow uses old HTML attributes. These attributes still work, and there's nothing wrong with submitting it if you aren't concerned with keeping your website standards-compliant. ocPortal's just letting you know, which is why Chris suggested disabling the validation when you preview.

Back to the top
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: