How to make the HTML link activated by clicking on the
  • ?
  • 后端 未结 14 2032
    没有蜡笔的小新
    没有蜡笔的小新 2020-12-07 16:18

    I have the following markup,

    14条回答
    •  鱼传尺愫
      2020-12-07 16:44

      You could try an "onclick" event inside the LI tag, and change the "location.href" as in javascript.

      You could also try placing the li tags within the a tags, however this is probably not valid HTML.

    提交回复
    热议问题