Loading ...
Sorry, an error occurred while loading the content.
 

Re: [NH] How do I get HTML to show up as plain text in a web page

Expand Messages
  • Bob McAllister
    Option 1 was a tag for Examples of HTML. Now deprecated but still works fine in Chrome. (Check other browsers). Option 2 Use a textarea to pull
    Message 1 of 12 , Nov 7, 2012
      Option 1

      <xmp></xmp> was a tag for Examples of HTML. Now deprecated but still works
      fine in Chrome. (Check other browsers).

      Option 2

      Use a textarea to pull your code out of the rendering.

      <form>
      <textarea rows="3" cols="80" wrap="off" readonly="readonly">
      <p class="date"><strong><a
      href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
      title="Friday, June 11">Friday, June 11</a></strong></p>
      </textarea>
      </form>

      It seems to work without the <form></form> but the page would not validate
      with a bare form element.

      Bob

      On 8 November 2012 05:58, Mike Breiding - Morgantown WV <
      mike@...> wrote:

      >
      > I want this HTML to show up as plain text, not a link, in a web page How
      > do I do that?
      >
      > <p class="date"><strong><a
      > href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
      > title="Friday, June 11">Friday, June 11</a></strong></p>
      >
      > I tired <pre> and <code> but that did not work.
      >
      >
      > Thanks,
      > -Mike
      >
      >


      [Non-text portions of this message have been removed]
    • Jeffery Scism
      ... http://epicroadtrips.us/2010/mich-ont/d1/ Just type the link without the A Href coding
      Message 2 of 12 , Nov 7, 2012
        On 11/7/2012 11:58 AM, Mike Breiding - Morgantown WV wrote:
        > <p class="date"><strong><a
        > href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
        > title="Friday, June 11">Friday, June 11</a></strong></p>
        http://epicroadtrips.us/2010/mich-ont/d1/

        Just type the link without the A Href coding
      • Jeffery Scism
        ... OR Highlight Friday, June
        Message 3 of 12 , Nov 7, 2012
          On 11/7/2012 1:31 PM, Axel Berger wrote:
          >
          > Mike Breiding - Morgantown WV wrote:
          > > I need all of the HTML to be visible.
          >
          > If you mean all the URL, i.e. http://.../d1/, then just write it down.
          > If you want "<a" to be seen and not interpreted, then make it "<a".
          >
          > > But it will not apply.
          >
          > Look like specificity again. Try the full "div#content p.date a" instead
          > of "p.date a".
          >
          > Axel
          >
          OR Highlight <p class="date"><strong><a
          href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
          title="Friday, June 11">Friday, June 11</a></strong></p> and use
          MODIFY>Document to HTML>with Paragraph tags


          [Non-text portions of this message have been removed]
        • William Cole
          Maybe something like: <p class= date ><strong> <a href= http://epicroadtrips.us/ 2010/mich-ont/d1/ target= _blank
          Message 4 of 12 , Nov 7, 2012
            Maybe something like:

            <p class="date"><strong>
            <br><a href="http://epicroadtrips.us/<wbr>2010/mich-ont/d1/"
            target="_blank" <br>title="Friday, June 11">Friday, June
            11</a></strong></p>



            On Wed, Nov 7, 2012 at 11:58 AM, Mike Breiding - Morgantown WV <
            mike@...> wrote:

            > **
            >
            >
            >
            > I want this HTML to show up as plain text, not a link, in a web page How
            > do I do that?
            >
            > <p class="date"><strong><a
            > href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
            > title="Friday, June 11">Friday, June 11</a></strong></p>
            >
            > I tired <pre> and <code> but that did not work.
            >
            > Thanks,
            > -Mike
            >
            >


            [Non-text portions of this message have been removed]
          • Mike Breiding - Morgantown WV
            Wow! That was fun. So many ways to skin a cat. Here they are: http://epicroadtrips.us/2010/mich-ont/betsy_journal/test.php Thanks, everybody. -Mike
            Message 5 of 12 , Nov 8, 2012
              Wow! That was fun.
              So many ways to skin a cat.
              Here they are:
              http://epicroadtrips.us/2010/mich-ont/betsy_journal/test.php

              Thanks, everybody.
              -Mike

              ===================
              I want this HTML to show up as plain text, not a link, in a web page How
              do I do that?

              <p class="date"><strong><a
              href='http://epicroadtrips.us/2010/mich-ont/d1/' target="_blank"
              title="Friday, June 11">Friday, June 11</a></strong></p>

              I tired <pre> and <code> but that did not work.


              Thanks,
              -Mike


              ------------------------------------

              Fookes Software: http://www.fookes.com/
              NoteTab website: http://www.notetab.com/
              NoteTab Discussion Lists: http://www.notetab.com/groups.php

              ***
              Yahoo! Groups Links
            Your message has been successfully submitted and would be delivered to recipients shortly.