For an example
Is <a href="#"><h1>Heading</h1></a> valid in HTML5?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
yes what you’ve written is valid in HTML5, but it’s not all inline elements, I think it’s just
<a>‘s it applies to..Reference: “Block-level” links in HTML5
Tip: if using this set the
<a>todisplay: block;or there may be unintended visual styling results : Source: Test CaseUpdate:
It is "disallowed" for other "block in inline" combinations where "default styles are likely to lead to confusion" – explanation is here: