+ 1

How can I refer to an html in an html.

Wanted to write a reply relating to an html code and wanted to do that using html itself but the browser ignores the html the html I referenced in my body and treated it as a comment. Why is that so and how can I go about it. https://code.sololearn.com/WOF9f6k6OYsT/?ref=app

30th Sep 2017, 11:19 PM
ALAINGIRESSE ETONGO
ALAINGIRESSE ETONGO - avatar
3 Respostas
+ 18
Are you referring to writing HTML code as part of your page, like an example/tutorial? Since the < and > symbols are used in HTML code, there's a special way to print them to display on the page. Type this to print a less than symbol: &lt; And this for a greater than symbol: &gt; For example: Code: <p>To write a paragraph in HTML, use the &lt;p&gt; tag.</p> Result: To write a paragraph in HTML, use the <p> tag.
30th Sep 2017, 11:27 PM
Tamra
Tamra - avatar
+ 17
You're welcome! It isn't covered here, so you didn't miss anything. ☺️
30th Sep 2017, 11:32 PM
Tamra
Tamra - avatar
+ 1
Wow . Thanks a lot. Never saw that in the html course.
30th Sep 2017, 11:30 PM
ALAINGIRESSE ETONGO
ALAINGIRESSE ETONGO - avatar