The name attribute is used to create a named anchor.
名称属性给连接添加了名称。
To handle this situation, have the processor look at the element after the named anchor in the HTML document.
要处理这种情况,可以让处理器查看HTML文档中命名锚点之后的元素。
If a browser cannot find a named anchor that has been specified, it goes to the top of the document. No error occurs.
如果浏览器找不到命名连接那它就会显示文档的头部而不会报错。
Specifying the following-sibling axis ensures that the style sheet processor checks the element that follows the named anchor.
指定following-sibling 轴可确保样式表处理器检查紧随命名锚点之后的元素。
If the starts on a new page, creating a link to the named anchor takes the user to the end of the previous page, which is not what was intended.
如果从新的一页开始,则创建命名锚点的链接将会把用户带到上一页的末尾,这不是我们所期望的。
For that reason, the XSLT template for the element checks the previous element to see if it is a named anchor. Here are the templates for the and elements.
出于这个原因,元素的XSLT模板检查前一个元素,看它是否为命名锚点。
At 1600 hours LT June 13, when my vessel was to moor in the arranged berth in Yantai Port, a ship named Dayu collided with us and her anchor pierced our peak tank.
6月13日当地时间1600时,当我船要在烟台港指定泊位系泊时,一艘名为“大宇”的船与我船相撞,其锚伸入我船艏尖舱。
At 1600 hours LT June 13, when my vessel was to moor in the arranged berth in Yantai Port, a ship named Dayu collided with us and her anchor pierced our peak tank.
6月13日当地时间1600时,当我船要在烟台港指定泊位系泊时,一艘名为“大宇”的船与我船相撞,其锚伸入我船艏尖舱。
应用推荐