<%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>

This test verifies that an anchor with only a tagId will produce the proper id. Anchor with only the tagId set, no href or action, etc., produce an anchor that can be used as a location for navigating inside of the page. Another anchor can set the linkName attribute to produce a fragment identifier which targets the first anchor.

Because the tagId is scoped, the linkName should also be scoped. An anchor with only a tagId will produce a name attribute, but this is not added to the name table. The reason for this, is that the name written for backward compatbility with old browsers.

Anchor Fragment Identifier Test

Bottom

Top