What Is an Anchor (A) Tag/Element

Q

What Is an Anchor (A) Tag/Element? - XHTML 1.0 Tutorials - Understanding Hyper Links and URLs

✍: FYIcenter.com

A

An "a" element is an inline element that you can use to specify a hyper link in your XHTML document. An "a" element can also be used to define a bookmark in your XHTML document. Here are basic rules about "a" elements:

  • "a" elements are inline elements.
  • "a" elements can not be used at the block level.
  • An "a" element defines a hyper link, if the "href" attribute is used.
  • An "a" element defines a bookmark, if the "name" attribute is used.

2007-05-12, 4616👍, 0💬