I
I
Isaac Clark2019-10-04 13:49:38
css
Isaac Clark, 2019-10-04 13:49:38

How to display HTML elements as text on a page?

Hello.
Tell me please.
A string comes from the server, for example, of this type: 'Hello World'
Task: to display it as a string on the page, only with a tab.
Please tell me how to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2019-10-04
@Dark_Knight

wrap with tag<pre>Тут текст с табами</pre>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question