Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6476247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:48:06+00:00 2026-05-25T06:48:06+00:00

I am building a simple html tutorial for my university . But I am

  • 0

I am building a simple html tutorial for my university . But I am not able to put the examples within the html file ! I tried <code></code> but it did not worked ! I searched google but no help from there .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:48:07+00:00Added an answer on May 25, 2026 at 6:48 am

    You need to HTML escape any HTML special characters.
    To conserve the indentation, you should wrap it in <pre> tags.
    To format it as code visually, you should also wrap it in <code> tags.
    The results looks like this:

    <pre><code>
    &lt;p&gt;
       This is an example of
       &lt;strong&gt;HTML&lt;/strong&gt;.
    &lt;/p&gt;
    </code></pre>
    

    This is rendered as:

    <p>
       This is an example of
       <strong>HTML</strong>.
    </p>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a simple Todo List application where I want to be able to
I'm building a simple web-based RSS reader in Python, but I'm having trouble parsing
I'm building a simple live chat into a web application running on Django, but
I'm building a simple HTML/CSS template for myself, which is here , and it
If you are building a simple website using just simple HTML/CSS/Javascript that has say
I want to be able to display some simple chunks of HTML in my
I was building a simple web based calculator which takes equations from a HTML
I building a simple (crude, in fact) gallery in html / twig, css and
I am building a simple blog which is viewed single-page (do not worry, it
I'm building an ActionFilter to reuse some code for a simple spam block -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.