xmlpractical3_column1.html
来自「Ajax tutorial archive」· HTML 代码 · 共 38 行
HTML
38 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Introduction to Ajax Tutorial</title>
</head>
<body>
<p class="main">
This is a pretty important concept to get so bear with me.
The first example takes a look at what happens when we point
the browser to a xml file:
</p>
<p class="main">
<a href=
"http://dhtmlnirvana.com/ajax/ajax_tutorial/examples/example2/navigation2.xml"
target="_blank" title="Pure XML Example">View Example</a>
</p>
<p class="main">
In this example, the browser parses the document and
doesn't recognize the html tags other than as typical xml
description tags. So none of the html markup gets applied and
the document is not formatted as a list.
</p>
<p class="main">
But watch what happens when we add an xhtml namespace to the
xml file on the <ul> tag like so:
</p>
<p class="code">
<ul xmlns="http://www.w3.org/1999/xhtml">
</p>
<p class="main">
To really appreciate what is happening, view the following
example, in either a Mozilla based
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?