-
Notifications
You must be signed in to change notification settings - Fork 23
How To Enter XML & HTML
Often when posting in a forum, you need to add HTML or XML that you want to display as code rather than be inherently rendered by the browser. This requires the extra step of wrapping you HTML or XML in <pre> and/or <code> tags. Here are some examples.
Using the CKeditor UI, style the HTML as you want it to render; in this example, we're using a "Heading 1" tag, and setting a color for some text:

After styling, the content displays in the UI editor:
And once the post is submitted, it will display:
When entering in the "Source" mode in CKeditor, directly enter the HTML:
When entering in the "Source" mode in CKeditor, using directly-enter HTML, wrap the HTML in <code> tags:
Enter the HTML, but wrap in [CODE] tags:

This module is the official forums module for DNN and is used on the official DNN CMS Community website.
- Forums
- Email Notifications
- Polls
- Tags
- Categories
- Attachments
- Avatar injection (new in 9.1)
- Recycle Bin (new in 9.1)
- Badges (new in 9.2)
- User Mentions (new in 9.3)