If I need to make a heading link, then it will be more correct to put the link in the heading tag

<h3><a href="/news/news_4.html">Lorem ipsum dolor sit amet</a></h3> 

or vice versa?

    1 answer 1

    It will be right to do as you have. That is, put the link inside the title.

    A string element cannot contain a block. Read the specification.

    Good luck.

    • Yes indeed. thanks) - Heidel
    • one
      Now checked ... If you write in HTML5, then in this specification, the reverse structure: <a href="#"> <h1> Heidel </ h1> </a> is also possible. That is, the document is being tested for validity. - Astor
    • No, the layout is not on html5, but thanks, very interesting. - Heidel