473,396 Members | 2,030 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,396 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 2057
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.