I was going through some alison.com materials on web development and one of their questions was:
True or False - The following code is formatted correctly.
<p><br>
<a href="">Click here<br>
</p><br>
</a>
The right answer is True.
But why the < a > tags' ending-tag < /a > is outside of the paragraph < p > tag?
答案 0 :(得分:0)
<br>
<p><a href="">Click here<br></a></p>
<br>
&#13;
这样的事情是正确的方法