Welcome to Geeklog, Anonymous Friday, April 19 2024 @ 05:01 pm EDT

Geeklog Forums

Adding Code to a static page


Status: offline

Airamis77

Forum User
Newbie
Registered: 08/11/02
Posts: 4
I'm wondering how you add html code to a static page, like if I wanted to show an example of some html for someone to see without the engine auctually processing the code as part of the regular page.

Thanks Smile
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
throw your HTML example code inside a <pre> tag (style as you like) and ensure that you use the HTML entity equivalents for things like < etc.

An entity might look like this: &amp; --this is the entity for the & (ampersand).
 Quote

All times are EDT. The time is now 05:01 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content