Test cases for resolving and (un)escaping URL's...

Check differences between Netscape, Internet Explorer,... by moving mouse over links!!
Normal and abnormal examples are taken from RFC2396 specification.

base URL is   http://a/b/c/d;p?q#b

normal examples: abnormal examples: extra examples:
g:h
g
./g
g/
/g
//g
?y
g?y
#s
g#s
g?y#s
;x
g;x
g;x?y#s
.
./
..
../
../g
../..
../../
../../g
<>
../../../g
../../../../g
/./g
/../g
g.
.g
g..
..g
./../g
./g/.
g/./h
g/../h
g;x=1/./y
g;x=1/../y
g?y/./x
g?y/../x
g#s/./x
g#s/../x
http:g
//G
/G
G
http://a
HTTP://a
//a/
//a/
http:
//a/../
http:../
http://de.rd.yahoo.com/financehp/l/a/1/*http://de.finance.yahoo.com/q?s=@XETRA.DE&f=snlcvi

Escape/unescape test for unreserved URL characters...

unescaped:
0123456789
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
-_.!~*'()

unescaped:
0123456789
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
-_.!~*'()

Other stuff...

'A' (&#65;) should be an 'A'
'a' (&#97;) should be an 'a'
'&' (&#38;) should be an '&'

Any <base href="..."> will be valid until next <base href="..."> or EOF.
<base http-equiv="refresh" content="URL=..."> tags will be respnsible for forwarding a website. IE uses the first one, NC the last one.
Tags may be between HTML comments.

HTML tags...

1st column: iii means inline elements, fff means block elements (referres to http://www.netzwelt.com/selfhtml/html/referenz/elemente.htm#block_elemente)
2nd column: iii aus IE/NE abgelesen
3nd column: text angezeigt oder nicht (aus IE abegelesen)
noch 0-th column: -=leave out entire tag area(must be closed..!), 0=ignore single tag, 1=new paragraph

iii iii 1 a:a
iii iii 1 abbr:abbr
iii iii 1 acronym:acronym
fff fff 1 address:
address

iii ??? - applet: ??? iii 1 area:area
iii iii 1 b:b
??? iii 1 base:base
iii iii 1 basefont:basefont
iii iii 1 bdo:bdo
iii iii 1 big:big
fff fff 1 blockquote:
blockquote

??? iii 1 body:body
iii iii 1 br:
br

iii ??? - button:
??? iii 1 caption:caption
fff fff 1 center:
center

iii iii 1 cite:cite
iii iii 1 code:code
??? iii 1 col:col
??? iii 1 colgroup:colgroup
??? fff 1 dd:
dd

??? iii - del:del
iii iii 1 dfn:dfn
fff fff 1 dir:dir
fff ??? 1 div:
div

fff fff 1 dl:
dl

??? ??? 1 dt:
dt

iii iii 1 em:em
??? ??? - embed: fff ??? - fieldset:
fieldset

iii iii 1 font:font
fff fff 1 form:
form

??? ??? 1 frame:frame
??? ??? 1 frameset:frameset
fff fff 1 h1:

h1


??? ??? 1 head:head
fff fff 1 hr:
hr
??? iii 1 html:html
iii ??? 1 i:i
iii ??? ? iframe:
iii iii 1 img:img
iii fff 1 input:input
??? iii 1 ins:ins
fff fff 1 isindex:isindex
iii iii 1 kbd:kbd
iii iii 1 label:
??? ??? 1 legend:legend
??? fff 1 li:
  • li

  • ??? iii 1 link:link
    iii iii 1 map:map
    fff fff 1 menu:menu
    ??? iii 1 meta:meta
    fff ??? ? noframes:noframes
    fff ??? ? noscript:
    iii ??? 1 object:object
    fff fff 1 ol:
      ol

    ??? iii 1 optgroup:optgroup
    ??? iii 1 option:
    fff fff 1 p:

    p


    ??? iii 1 param:param
    fff fff 1 pre:
    pre

    iii iii 1 q:q
    iii iii - s:s
    iii iii 1 samp:samp
    iii ??? - script:
    iii ??? ? select:
    iii iii 1 small:small
    iii iii 1 span:span
    iii iii - strike:strike
    iii iii 1 strong:strong
    ??? iii - style:
    iii iii 1 sub:sub
    iii iii 1 sup:sup
    fff fff 1 table:table

    ??? fff 1 tbody:tbody
    ??? fff 1 td:td
    iii ??? - textarea:
    ??? fff 1 tfoot:tfoot
    ??? fff 1 th:th
    ??? fff 1 thead:thead
    ??? ??? - title:title
    ??? iii 1 tr:tr
    iii iii 1 tt:tt
    iii iii 1 u:u
    fff fff 1 ul:
    iii iii 1 var:var


    Dresden ist eine Stadt.
    TAG!!!