Create a W3C validated anchor link with target=“_blank”

前端 未结 11 1875
臣服心动
臣服心动 2021-01-04 22:51

I have the following piece of HTML that creates a new window when clicked:

glide by the people
         


        
11条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-04 23:21

    If you have a requirement for Accessibility or Cross-Platform Interoperability, you likely want to validate your web page. There is a nice document answering the question about "why validate?" posted by W3.org http://validator.w3.org/docs/why.html

    IMHO, it shows you care about your audience, when you take the extra time to validate. Then, you will have pages that show virtually the same on IE, Opera, Safari, and Firefox.

提交回复
热议问题