How do I display HTML tag within posts?

  • Author
    Posts
  • #29726

    I ask this because I want to display sample HTML code on my blog for users to see in my posts on programming tutorials

    thanks in adv.

    #29973

    drmike
    Member

    Change each of the starting ‘<‘ mark to &lt;

    This is called encoding html. There’s more about it here.

    Hope this helps,
    -drmike

The topic ‘How do I display HTML tag within posts?’ is closed to new replies.