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

Teaching HTML

  • anthonydlewis
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 10 ans 3 mois #3682 par anthonydlewis
Teaching HTML a été créé par 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?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 3 mois #3683 par ronm
Réponse de ronm sur le sujet 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/
Les utilisateur(s) suivant ont remercié: anthonydlewis

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.159 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo