What is the cite attribute for?

前端 未结 7 1925
醉话见心
醉话见心 2021-02-05 10:01

The cite attribute specifies the address of the source of the quoted text, I think, but who uses this information?

For example:



        
7条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 10:59

    It's just another meta data chunk that can be used by server side scripts to collect statistics or by front end developpers to add functionnalities (they can choose to print the source, allow to access the original source, etc...).

    It's just a good practice to have the original source written somewhere although it is actually not very useful for the end user.

提交回复
热议问题