This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Teaching HTML

  • anthonydlewis
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 3 maanden geleden #3682 door anthonydlewis
Teaching HTML werd gestart door anthonydlewis
I want to include HTML examples in the Xerte text content but it keeps treating it as HTML rather than text. Is there an easy way of stopping Xerte from treating the code as code?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 3 maanden geleden #3683 door ronm
Beantwoord door ronm in topic Teaching HTML
Try any of the following:
Code:
<xmp>Wrap your code between </xmp> tags.
Code:
Or put your code inside <textarea></textarea> tags.
Code:
Or Convert all your ‘<‘ and ‘>’ to ‘&lt’ and ‘&gt’ respectively

HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
De volgende gebruiker (s) zei dank u: anthonydlewis

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ingdon
Tijd voor maken pagina: 0.227 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo