Re: Typo in code example in HTML 4.01 24.12.1999

"Stefan Schumacher" <stefan@duckflight.de> wrote:

> in the HTML spec, you can see the following at the end of section 
> 18.2.4, last example.
> 
>  <TITLE>Test Document</TITLE>
>  <SCRIPT type="text/javascript">
>      document.write("<p><b>Hello World!<\/b>")
>  </SCRIPT>
> 
> The closing tag looks like this: <\/b>
> A backslash followed by a slash.

This is not a typo.  See "B.3.2 Specifying non-HTML data" at:

    http://www.w3.org/TR/html401/appendix/notes.html#notes-specifying-data

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Monday, 29 July 2002 01:06:48 UTC