装饰条、导航以及许多标题元素居中展示。
The logo, tagline, and navigation are all centered, as are many other header elements.
比如,可以使用XPath定位文档中所有的节标题元素。
As an example, one could use XPath to locate all the section-title elements in a document.
对于每个元素,提取标题元素的文本并将其放入页面,如图1所示。
For each one, extract the text of the title element and place it on the page, as you can see in Figure 1.
应用推荐