how can i quote all this in code . so that html wont see it as commands..

<html>
<head>
</	head>
<body>
</body>
<html>
</pre>
</body>
</html>

i wont to qoute those commands in my page

Recommended Answers

All 3 Replies

To do that you need to define the ASCII number or html name of the characters '<' and '>'. For example:

&#60|;html>&#62|; (without the '|' characters)
<!-- OR -->
&lt;/html&gt;

Either will work. 'lt' and 'gt' stand for 'less than' and 'greater than'.

sorry where do i put one of those commands?

You replace the '<' and '>' characters with the code where you want them to appear. E.g. '<' becomes '&lt;' or &#60|; (without the | character).

commented: Thank you +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.