SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I make a sample code fiels in dreamweaver?

    I would like to add a box, With sample HTML code in for my website, But the code keeps turning into forms ect.

    How do I keep it to just text?

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Instead of using < and > you have to use &lt; and &gt; for the "less than" and "greater than" symbols, plus you will need to add <br /> tags for each line as well.

    Is this what you meant, or did you need help with the box itself also?

  3. #3
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code HTML4Strict:
    <pre><code>&lt;p&gt;This is a sample paragraph.&lt;/p&gt;</code></pre>
    Birnam wood is come to Dunsinane


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •