473,241 Members | 1,682 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

Can anyone explain this?

Can anyone explain why the
<ro**@hiddenworld.net>
portion of this html doesn't render in a browser,
but the
<20********************@server.hiddenworld.net>
portion does?

Here is the html code...

<html>

<head>
<title></title>
</head>

<body bgcolor="#FFFFCC">

<table border="1">
<tr>
<td BGCOLOR="#CCCCCC">server</td>
<td BGCOLOR="#CCCCCC">2003-10-10</td>
<td BGCOLOR="#CCCCCC">11:23:46</td>
<td BGCOLOR="#CCCCCC">postfix/qmgr[15198]: 675B11F508:
from=<ro**@hiddenworld.net>, size=417, nrcpt=1 (queue
active)</td>
</tr>
<tr>
<td BGCOLOR="#ffffff">server</td>
<td BGCOLOR="#ffffff">2003-10-10</td>
<td BGCOLOR="#ffffff">11:23:46</td>
<td BGCOLOR="#ffffff">postfix/cleanup[15357]: 675B11F508:
message-id=<20********************@server.hiddenworld.net> </td>
</tr>
</table>
</body>
</html>
Jul 20 '05 #1
3 2047
In article <48**************************@posting.google.com > in
comp.infosystems.www.authoring.html, Ranyart Olias
<di*****@yahoo.com> wrote:
Can anyone explain why the <ro**@hiddenworld.net>
portion of this html doesn't render in a browser, but the
<20********************@server.hiddenworld.net> portion does?

from=<ro**@hiddenworld.net>,


There is no "ro**@hiddenworld.net" tag, so it's pretty clear why
that doesn't render as text. I could ask why your other similarly
coded one does render as text, but when you have invalid HTML all
sorts of oddities are to be expected.

Recode your < and > correctly as &lt; and &gt; and both should
display as you wish.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #2
"Ranyart Olias" <di*****@yahoo.com> wrote in message
news:48**************************@posting.google.c om...
Can anyone explain why the
<ro**@hiddenworld.net>
portion of this html doesn't render in a browser,
but the
<20********************@server.hiddenworld.net>
portion does?


You need to escape the < > characters, or the HTML parser will think you
have an HTML tag.

&lt;ro**@hiddenworld.net&gt;
&lt;20********************@server.hiddenworld.net& gt;

Regards,
Peter Foti
Jul 20 '05 #3
Ranyart Olias wrote:
Can anyone explain why the
<ro**@hiddenworld.net>
portion of this html doesn't render in a browser,
but the
<20********************@server.hiddenworld.net>
portion does?


Well, any action of displaying or not displaying such sequences of
characters is entirely dependent on a particular browser's error
correction, given that the less than character is reserved as the
starting character for tags and declarations. What you have placed
between the < and > characters is not a valid tag or declaration in HTML
or XHTML, so it's then up to the tender mercies of the browser what to
do in such a case -- display it as raw text, ignore it altogether, or
whistle Dixie. Apparently, the browser you happen to be using decides
to display it as raw text if it starts with a number (because tags never
start with numbers) but to ignore it if it starts with a letter (since
tags start with letters, and though what you put there is not an actual
tag, the browser may think it could possibly be one in a future version
of HTML). I don't think an @ sign right after a sequence of letters is
proper syntax in any tag (past, present, or future) anyway, but some
browsers might be prepared to be forgiving and render a hypothetical
"root" tag from your code, if such a tag existed.

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Chris | last post by:
Hello Could anyone explain why the following: #footer ul { float : left; margin : 2px 0px 7px 28px; padding : 0px; width : 360px;
13
by: C++fan | last post by:
The following code is for list operation. But I can not understand. Could anyone explain the code for me? /* * List definitions. */ #define LIST_HEAD(name, type) struct name { type...
0
by: Alan Silver | last post by:
Hello, Sorry for the long post, but I want to try and explain it clearly... I'm using webparts for (possibly) an unusual scenario, and I'm having problems. This could be because I'm doing...
33
by: O-('' Q) | last post by:
....to translate the following to C#.NET style? var i: Integer; begin txtMyIP.Lines.Clear; sHTML := HTTP.Get('http://www.network-tools.com/'); if sHTML = '' then Exit; sIpAddr := 'IP...
19
by: Alan Silver | last post by:
Hello, Having discovered what I believe to be two CSS bugs in IE7, I have submitted bug reports to MS. AFAIK, these don't get acted on until they receive votes form others to say they are worth...
11
by: Faisal Vali | last post by:
Hi - I'm new to javascript and I was reading the book Javascript Professional Projects - there is a fragment that has me a little perplexed, and I was wondering if anyone could explain why and how...
1
by: Jia Lu | last post by:
Hello I have a program that can telnet to a host. But I cannot understand from part, can anyone explain it to me? Thank you very much. import sys, posix, time
2
by: System Administrator | last post by:
function a() { } typeof a //returns 'function' a instanceof a //returns false typeof Object //returns 'function' Object instanceof Object //returns ...
3
by: Bhuwan Bhaskar | last post by:
Hi, Can anyone explain when to use state server or Sql server to save sessions. Thanks, Bhuwan
1
Eclipse
by: Eclipse | last post by:
G'day all Can anyone explain the difference in the results to me as I don't understand why specifying the directory name in two different ways could give a different answer. In CODE 1 below i...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.