This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

105 points
517a65430ae8a6a1a300093d_603208090
Submitted by
Pinar Unsalan
over 4 years ago

What if I want to write <p>...</p> on the actual web page?

What if I want to write an element on the actual web page, like the line below?
... and as tags?


-1 votes

permalink

You can do this by typing &lt; as the < symbol, and &gt; as the > symbol.

Eg. &lt;html&gt; will display as <html>

544 points
825c2b148470cad93f62ebc99261f57a?s=140&d=retro
Submitted by
angelo1410
over 4 years ago

2 Comments

517a65430ae8a6a1a300093d_603208090 Pinar Unsalan over 4 years ago

Thanks!
I found the code for the < and > symbols. And it works :-)

825c2b148470cad93f62ebc99261f57a?s=140&d=retro angelo1410 over 4 years ago

Glad you figured it out because I messed it up, not used to how this works. Edited my answer for anyone else who might see this.