http://www.w3.org/TR/html401/struct/links.html#edef-BASE
Path information: the BASE element
This attribute specifies an absolute URI that acts as the base URI for resolving relative URIs.
For example, given the following BASE declaration and A declaration:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>Our Products</TITLE>
<BASE href="http://www.aviary.com/products/intro.html">
</HEAD>
<BODY>
<P>Have you seen our <A href="../cages/birds.gif">Bird Cages</A>?
</BODY>
</HTML>
the relative URI "../cages/birds.gif" would resolve to:
http://www.aviary.com/cages/birds.gif
-------------------------------------------
사용예:
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v5.0">
<base href="http://myhyun.com/">
</head>
Path information: the BASE element
This attribute specifies an absolute URI that acts as the base URI for resolving relative URIs.
For example, given the following BASE declaration and A declaration:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>Our Products</TITLE>
<BASE href="http://www.aviary.com/products/intro.html">
</HEAD>
<BODY>
<P>Have you seen our <A href="../cages/birds.gif">Bird Cages</A>?
</BODY>
</HTML>
the relative URI "../cages/birds.gif" would resolve to:
http://www.aviary.com/cages/birds.gif
-------------------------------------------
사용예:
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v5.0">
<base href="http://myhyun.com/">
</head>
'정보기술 > 일반' 카테고리의 다른 글
[정보] Terminal server RDP client for Palm OS (2) | 2004.03.04 |
---|---|
SONY Clie PEG-TH55 Review (0) | 2004.03.04 |
앞으론 PNG 만 쓸꺼야!!! :) (1) | 2004.02.26 |
히다치, 360도 어디에서라도 볼 수가 있는 입체 영상 디스플레이 기술을 개발 (6) | 2004.02.24 |
네이버 번역 일한 한일 (0) | 2004.02.22 |