0

So I'm working on my first website which is gonna be a portfolio for my future projects. The question is probably silly but what i want to do is to greet the people on to my site with the text </Hello> since I'm in programming, but when i write this in my paragraph element the editor thinks that i want to create a new element...

<p id = "hello">        
    </Hello>
</p> 
user6395724
  • 89
  • 2
  • 7

2 Answers2

0

Simply use &lt; to replace the < would do the trick, there are some special characters that you have to display it in this way.

check out more on http://www.w3schools.com/html/html_entities.asp

Zay Lau
  • 1,856
  • 1
  • 10
  • 17
-3

you can use this for showing html on your page

<p id = "hello">        
   <xmp> </Hello> </xmp>
</p> 

working demo

fernando
  • 814
  • 1
  • 9
  • 24
  • 2
    The `` tag is *deprecated*. Do not use it. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp – gen_Eric Aug 26 '16 at 16:14