ÇöÀç ¹®¼ÀÇ ÁÖ¼Ò(URL) Á¤º¸¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ÇöÀç ¹®¼³ª ÁöÁ¤ÇÑ ¹®¼ÀÇ °³Ã¼ÀÌ´Ù.
URL ¼Ó¼ºÀº ¾ðÁ¦³ª ¼³Á¤ÀÌ °¡´ÉÇÏ°í, ¼³Á¤µÇ¸é ¹Ù·Î ÇØ´ç ÆäÀÌÁö ÁÖ¼Ò·Î À̵¿ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
URL(Uniform Resource Locator) ¼Ó¼ºÀº ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÏ¿©¾ß ÇÑ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼ Á¤ÀǵǾú´Ù.
<A href="http://trio.co.kr/cgi/bbs/triobbs.cgi?db=triobbs">trio °Ô½ÃÆÇ</A><BR> <SCRIPT> for (i=0;i<document.links.length;i++){ if(document.links[i].URL) document.write(document.links[i].href+'<BR><FONT color=green>'+document.links[i].URL+'</FONT><BR>'); } document.write('document.URL=<FONT color=blue>'+document.URL+'</FONT><BR>'); document.write('top.document.URL=<FONT color=blue>'+top.document.URL+'</FONT>'); </SCRIPT> <DIV onClick="document.URL='http://trio.co.kr/webrefer/tutmain.html'" style="border:solid 1 blue;padding:5;background:eef;width:150;margin-left:100">»öÀÎÇ¥·Î °¡±â Ŭ¸¯</DIV>