1 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
2 |
<head> |
3 |
<title>xhtml:id</title> |
4 |
<style type="text/css"> |
5 |
#xhtml-id { |
6 |
color: green; |
7 |
} |
8 |
</style> |
9 |
</head> |
10 |
<body xmlns:xhtml="http://www.w3.org/1999/xhtml" |
11 |
xmlns:ns="http://www.example.com/"> |
12 |
<h1><code><var>xhtml</var>:id</code></h1> |
13 |
|
14 |
<p><a href="#xhtml-id"><code>#xhtml-id</code></a></p> |
15 |
|
16 |
<hr style="margin-top: 20em; margin-bottom: 20em"/> |
17 |
|
18 |
<ns:element xhtml:id="xhtml-id"> |
19 |
The element whose <code>ID</code> is <q><code>xhtml-id</code></q>. |
20 |
</ns:element> |
21 |
|
22 |
</body> |
23 |
</html> |