HTML Anchor 'a' Tag/Element


What Is an Anchor "a" Tag/Element?



An "a" element is an inline element that you can use to specify a hyper link in your HTML document. An "a" element can also be used to define a bookmark in your HTML 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.


Defining an HTML Hyper Link

Hyper Links in HTML Documents

HTML Hyper Links and URLs

⇑⇑ HTML Tutorials

2017-07-15, 1494🔥, 0💬