What does the “a” in the html tag stand for?

前端 未结 4 713
抹茶落季
抹茶落季 2021-01-01 17:25

As most of you know, the tag is (mostly) used in html to make a hyperlink like

Click me
         


        
相关标签:
4条回答
  • 2021-01-01 18:01

    a stands for anchor. As easy as that!

    0 讨论(0)
  • 2021-01-01 18:04

    Technically speaking, the <a> tag has multiple meanings according to the spec:

    If the <a> element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.

    If the <a> element has no href attribute, then the element represents a placeholder for where a link might otherwise have been placed, if it had been relevant, consisting of just the element’s contents.

    0 讨论(0)
  • 2021-01-01 18:08

    According to HTML Documentation part 4.5.1 the <a> tag refers to a HTMLAnchorElement

    0 讨论(0)
  • 2021-01-01 18:10

    Stands for anchor tag. The tag defines a hyperlink, which is used to link from one page to another.

    The most important attribute of the element is the href attribute, which indicates the link's destination.

    0 讨论(0)
提交回复
热议问题