What happens if the meta tags are present in the document body?

后端 未结 9 1774
有刺的猬
有刺的猬 2020-11-29 06:26

I am working on a ASP application and the code, template and files are organized in a way that does not allow me to alter anything outside the body tag. So I am thinking abo

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 06:48

    I wouldn't do it. That's not where those tags go, and the search engines might view it as spamming. If you can reorganize the master page you can always add a contentplaceholder up in the head section. I've done it trivially with:

    
    

    This way you can add whatever content you like in the head section back on your page:

    
    
        
    
    
    

提交回复
热议问题