BLandeaux
03-07-2003, 05:06 PM
I ran across an index.html that contained the following:
<html>
<head>
<meta http-equiv="Expires" content="Thu, 6 Jul 2000 12:17:42 -0600"/>
<meta http-equiv="Refresh"
content="0; URL=http://some.domain.com/login.jsp?i=0"/>
<title>Redirecting...</title>
</head>
<body>
</body>
</html>
My html knowledge is fair, but can someone tell me about the the trailing "/>" in the two "meta" tags? The trailing ">" is obvious, but the preceding "/" is new to me. I am told it is a "is Well-Formed HTML, it is known as an 'empty tag'. This has roots back to SGML and is a must for any XML based application to parse it. The browser will take either form." Is this the case?
Thanks.
<html>
<head>
<meta http-equiv="Expires" content="Thu, 6 Jul 2000 12:17:42 -0600"/>
<meta http-equiv="Refresh"
content="0; URL=http://some.domain.com/login.jsp?i=0"/>
<title>Redirecting...</title>
</head>
<body>
</body>
</html>
My html knowledge is fair, but can someone tell me about the the trailing "/>" in the two "meta" tags? The trailing ">" is obvious, but the preceding "/" is new to me. I am told it is a "is Well-Formed HTML, it is known as an 'empty tag'. This has roots back to SGML and is a must for any XML based application to parse it. The browser will take either form." Is this the case?
Thanks.