What is {id=rid}

liunx

Guest
Please help me find out what these tags do with this modifier (id=rid). I have been doing HTML and Flash for a while and have never seen this. I found it when I was modifying an HTML page in my Outlook Stationaries.<br />
<br />
title id="ridTitle" body id="ridBody" img id="ridImg" src<br />
<br />
Thank You, Mitch<!--content-->Hope this usage example in javascript helps.<br />
<br />
<script language='javascript'><br />
function init () {<br />
document.getElementById.('mydiv').style.backgroundColor="ffcc99";<br />
}<br />
window.onload = init;<br />
</script><br />
<br />
<div id='mydiv'><br />
This is my div<br />
</div><br />
<br />
Bob<!--content-->Thanks. It still remains a mystery to me. I thought {id=ridX} could be a new tag for HTML, but I see from your post that they must be pointing to some Java CAB in Windows somewhere.<br />
<br />
This is the whole document below. It is a 'common file' that comes with Windows98 and/or Outlook. I have made many 'stationary' files without this code and they have always worked just fine.<br />
<br />
Oh well, thanks for the tip.<br />
<br />
<!--<br />
<html><head><title id="ridTitle">Sunflower</title> <style><!-- body { font-family: Arial, Helvetica; font-size: 12pt; color: #666600; margin-top: 25px; margin-left: 20px; } img { margin-top: 10px; margin-left: -20px; } --></style> </head> <body id="ridBody" background="Sunflower Bkgrd.jpg"><img id="ridImg" src=http://www.webdeveloper.com/forum/archive/index.php/sunbannA.gif align=bottom><p></p> <SPAN id="_AthCaret"></SPAN> <br />
<p></p> </body> </html> --><!--content-->The "id" attribute is a standard HTML attribute that allows you to assign a unique identifier to the element. You can then refer to the element using Javascript or CSS. In the document you have shown, the IDs are not used, but they may be referenced elsewhere.<br />
<br />
For more information, see the HTML 4.01 Specification: <!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/struct/global.html#h-7.5.2">http://www.w3.org/TR/html401/struct/global.html#h-7.5.2</a><!-- m --><br />
<br />
Adam<!--content-->
 
Back
Top