<meta charset=“utf-8”> vs <meta http-equiv=“Content-Type”>

前端 未结 9 1078
后悔当初
后悔当初 2020-11-22 01:13

In order to define charset for HTML5 Doctype, which notation should I use?

  1. Short:

     
             
    
    
            
9条回答
  •  一生所求
    2020-11-22 01:46

    I would recommend doing it like this to keep things in line with HTML5.

    
    

    EG:

    
    
    
        
        
        Document
    
    
    
    
    

提交回复
热议问题