On this page the link at the end is wrapped in <pre> tags but it still displays as a link.
What am I missing?
What am I missing?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
dexeloper said:This seems to be developing a life beyond what I wanted. Using 'textarea' tags works and nobody has come up with a better method.
The requirement is to show html code in a browser page. Whether that page is generated by ASP, PHP or Mrs Fruitcakes own scripting language isn't relevant. Also the link is fictitious.
I'm done.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml">[/URL]
<head><meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<title>test</title>
</head>
<body>
<h1> first page
</h1>
<p><a href="#">Here</a></p>
</body>
</html>
Actually it validates without the [tt]p[/tt] tag too, because it is transitional.johnwm said:You can then just stick it in a <p> or anything else - and it validates.