Html: What is the correct order of and

tags?

后端 未结 7 1343
予麋鹿
予麋鹿 2021-02-03 20:50

Which of the following, if either, is correct by standards?




        
7条回答
  •  眼角桃花
    2021-02-03 21:36

    As of HTML 5, anchor tags () are allowed to wrap around almost anything, including paragraphs. So either example is valid, although I tend to prefer having anchors inside paragraphs.

提交回复
热议问题