Title: Displaying HTML code but not exec. it
Last modified: August 18, 2016

---

# Displaying HTML code but not exec. it

 *  [nickmanderfield](https://wordpress.org/support/users/nickmanderfield/)
 * (@nickmanderfield)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/displaying-html-code-but-not-exec-it/)
 * I want to display a text box of HTML code but not have it run by the page once
   I post it, understand? I can’t figure it out. Running latest version of WP.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/displaying-html-code-but-not-exec-it/#post-410341)
 * [http://codex.wordpress.org/Plugins/Syntax_Highlighting](http://codex.wordpress.org/Plugins/Syntax_Highlighting)
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/displaying-html-code-but-not-exec-it/#post-410344)
 * Yeah, I use one of those, but if you don’t want to install a plugin, then just
   convert all < and >’s to `& lt;` and `& gt;`‘s (remove the spaces).
 *  Thread Starter [nickmanderfield](https://wordpress.org/support/users/nickmanderfield/)
 * (@nickmanderfield)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/displaying-html-code-but-not-exec-it/#post-410581)
 * I tried putting it in the form of an input box so it wouldnt be modified and 
   it wouldnt let me do it correctly even using the & gt; code
 *  [jazmine](https://wordpress.org/support/users/jazmine/)
 * (@jazmine)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/displaying-html-code-but-not-exec-it/#post-410584)
 * I don’t know how to change the header images on different “pages” or upload pictures.
   When i try to upload pictures it asks me if my upload folder is writable. I don’t
   know how to make it writable. Also, I’ve read a lot on how people include <?else
   if php page”2″> or something like that but my header image is driven by css. 
   Help!
 * <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   
   <html xmlns=”[http://www.w3.org/1999/xhtml”&gt](http://www.w3.org/1999/xhtml”&gt);
 * <head profile=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
 *  <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset
   =<?php bloginfo(‘charset’); ?>” />
 *  <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive
   <?php } ?> <?php wp_title(); ?></title>
 *  <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> 
   <!– leave this for stats –>
 *  <?php if (eregi(“MSIE”,getenv(“HTTP_USER_AGENT”)) || eregi(“Internet Explorer”,
   getenv(“HTTP_USER_AGENT”))) { ?>
    <link rel=”stylesheet” type=”text/css” href
   =”<?php bloginfo(‘stylesheet_directory’); ?>/style-ie.css”/> <?php } else { ?
   > <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_directory’);?
   >/style.css”/> <?php } ?>
 *  <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php
   bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS.
   92″ href=”<?php bloginfo(‘rss_url’); ?>” /> <link rel=”alternate” type=”application/
   atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” /> <link rel
   =”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
 *  <style type=”text/css” media=”screen”></style>
 *  <script language=”javascript” type=”text/javascript”>
    function resetSearchText(){
   if (“search…”==document.searchform.s.value){document.searchform.s.value = “”;}}
   </script>
 *  <?php wp_get_archives(‘type=monthly&format=link’); ?>
 *  <?php wp_head(); ?>
 * </head>
    <body> <div id=”headerimg”> <div id=”topbar”> <div class=”nav”>|  “>
   Home  |   [Classes ](http://nfac.ca/WordPress/?page_id=2)  |   [Ideas Cafe](http://nfac.ca/WordPress/?page_id=3)
   |   [Horsefly Magazine ](http://nfac.ca/WordPress/?page_id=6)  |   [Faculty](http://nfac.ca/WordPress/?page_id=9)
   |   [Refund Policy](http://nfac.ca/WordPress/?page_id=8)  |   [Contact](http://nfac.ca/WordPress/?page_id=10)
   |   </div> <div class=”searchform”></div> </div> </div>
 * <div id=”page-top”><div id=”page-bottom”><div id=”page”>
 * This is what my header code looks like and I don’t know where to put the code
   everyone is talking about to change the header images. any help would be much
   appreciated.
 * Jazmine

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Displaying HTML code but not exec. it’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [jazmine](https://wordpress.org/support/users/jazmine/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/displaying-html-code-but-not-exec-it/#post-410584)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
