+ 2

If I'm explaining HTML to some one through a webpage and I want browser to show this "To create paragraph use <p> your paragraph </p>" which tag should I use before and after quoted text so that it is displayed as it is?

4th Jun 2016, 2:04 PM
Bhushan Babar
Bhushan Babar - avatar
2 ответов
+ 2
You would have to escape you opening brackets, so the html does not detect the tags, like so: "to create a paragraph use &lt;p> your paragraph &lt;/p>". The browser will automatically display < instead of &lt;
4th Jun 2016, 3:22 PM
Gabe Rust
Gabe Rust - avatar
0
HTML Character Entities
11th Jun 2016, 6:38 AM
Matt