+ 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
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: <
And this for a greater than symbol: >
For example:
Code: <p>To write a paragraph in HTML, use the <p> tag.</p>
Result: To write a paragraph in HTML, use the <p> tag.
+ 17
You're welcome! It isn't covered here, so you didn't miss anything. ☺️
+ 1
Wow . Thanks a lot. Never saw that in the html course.