https://nuli.navercorp.com/data/convention/NHN_Coding_Conventions_for_Markup_Languages.pdf
<!DOCTYPE html>
https://google.github.io/styleguide/
<!--TODO: remove optioanl tags-->
<link>
에 타입 선언은 최근에 하지 않는다!<!-- Not recommended -->
<link rel="stylesheet" href="https://www.google.com/css/maia.css"
type="text/css">
<!-- Recommended -->
<link rel="stylesheet" href="https://www.google.com/css/maia.css">
/* Recommended */
h1,
h2,
h3 {
font-weight: normal;
line-height: 1.2;
}
ENG) https://ui.toast.com/fe-guide/ko_HTMLCSS
KOR) https://ui.toast.com/fe-guide/ko_CODING-CONVENTION
<!-- Bad -->
<input type="text" disabled=true>
<!-- Good -->
<input type="text" disabled>
<!-- Good -->
<input type="checkbox" value="1" checked>
<!-- Bad -->
<input type="checkbox" value="1" checked=true>
<!-- Good -->
<select>
<option value="1" selected>1</option>
</select>
<!-- Bad -->
<select>
<option value="1" selected=true>1</option>
</select>
/* Bad */
.selector {
padding:15px;
}
.selector {padding: 15px;margin: 15px;}
/* Good */
.selector {padding:15px;}
.selector {
padding: 15px;
margin: 15px;
}
https://github.com/airbnb/javascript
https://github.com/airbnb/css
https://github.com/CodeMakeBros/css-style-guide