<code class="hljs xml"><span class="hljs-doctype"><!DOCTYPE html> <span class="hljs-tag"><<span class="hljs-title">html <span class="hljs-attribute">lang=<span class="hljs-value">"zh-CN"> <span class="hljs-tag"><<span class="hljs-title">head> <span class="hljs-tag"><<span class="hljs-title">meta <span class="hljs-attribute">charset=<span class="hljs-value">"UTF-8"> <span class="hljs-tag"><<span class="hljs-title">meta <span class="hljs-attribute">http-equiv=<span class="hljs-value">"X-UA-Compatible" <span class="hljs-attribute">content=<span class="hljs-value">"IE=Edge"> <span class="hljs-tag"></<span class="hljs-title">head> .... <span class="hljs-tag"></<span class="hljs-title">html> </span></span></span></span></span></span></span></code>로그인 후 복사
<code class="hljs xml"><span class="hljs-comment"><!-- Use link elements --> <span class="hljs-tag"><<span class="hljs-title">link <span class="hljs-attribute">rel=<span class="hljs-value">"stylesheet" <span class="hljs-attribute">href=<span class="hljs-value">"core.css"> <span class="hljs-comment"><!-- Avoid @imports --> <span class="hljs-tag"><<span class="hljs-title">style><span class="css"> <span class="hljs-at_rule">@<span class="hljs-keyword">import <span class="hljs-function">url(<span class="hljs-string">"more.css"); <span class="hljs-tag"></<span class="hljs-title">style> </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></code>
<code class="hljs xml"><span class="hljs-comment"><!-- External CSS --> <span class="hljs-tag"><<span class="hljs-title">link <span class="hljs-attribute">rel=<span class="hljs-value">"stylesheet" <span class="hljs-attribute">href=<span class="hljs-value">"code-guide.css"> <span class="hljs-comment"><!-- In-document CSS --> <span class="hljs-tag"><<span class="hljs-title">style><span class="css"> <span class="hljs-comment">/* ... */ <span class="hljs-tag"></<span class="hljs-title">style> <span class="hljs-comment"><!-- JavaScript --> <span class="hljs-tag"><<span class="hljs-title">script <span class="hljs-attribute">src=<span class="hljs-value">"code-guide.js"><span class="undefined"><span class="hljs-tag"></<span class="hljs-title">script> </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></code>로그인 후 복사
예:
은 작성 사양이므로 모든 댓글을 포함하는 것이 가장 좋습니다. 이후의 문제와 오류를 줄이기 위해 시작과 끝을 만들어야 합니다. 줄을 감싸지 마십시오. CSS와 JS 주석도 마찬가지입니다.
은 쓰기 사양이며 바람직하게는 필요한 모든 댓글입니다. 이후의 문제와 오류를 줄이려면 시작과 끝이 있어야 합니다. 줄을 감싸지 마십시오. CSS와 JS 주석도 마찬가지입니다.