firebug returns syntax error in doctype?

后端 未结 2 1786
半阙折子戏
半阙折子戏 2020-12-29 02:46

Why does Firebug return an error in my doctype?

 
         


        
2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 03:17

    DOCTYPE normally is expressed on one line like below. and can cause syntax error

    
    

    But even sometimes it will yell about a syntax error when a src attribute is not declared for an element. Firebug can also through this error when a source is not found or is called twice on one page. EX: script/image/link.

提交回复
热议问题