Does anyone know the HTML code to make a text box that you can put html codes in it?

Like for a comment tag or layout there's always a text box under it with the html code available for people to copy and paste it. I want to know the code to make the text box and be able to put code into it for other people to copy and paste.
2 answers 2