js的注釋有哪幾種 html5有什么快捷鍵實(shí)現(xiàn)注釋?
html5有什么快捷鍵實(shí)現(xiàn)注釋?html文件里面除了html標(biāo)簽代碼,可能還會(huì)有css和js代碼。 html代碼的注釋用<!---->,要注釋的內(nèi)容寫在中間,如: <!
html5有什么快捷鍵實(shí)現(xiàn)注釋?
html文件里面除了html標(biāo)簽代碼,可能還會(huì)有css和js代碼。 html代碼的注釋用<!---->,要注釋的內(nèi)容寫在中間,如: <!--<div></div>--> css代碼的注釋用/**/,如:/*p{color:red}*/ js代碼的注釋用//進(jìn)行單行注釋,/**/進(jìn)行多行注釋,如:/*window.onload = function(){ //alert("hehe")}*/