반응형
용어설명
일반용어 :
주석 - 본문의 뜻을 알기 쉽게 풀어 쓰는 글을 말한다.
컴퓨터용어 :
주석 - 컴퓨터 프로그래밍 환경에서 소스 코드에 도움이 되는 정보를 삽입하기 위해 쓰인다.
용어설명 출처 http://ko.wikipedia.org
주석 사용방법
CSS 코드
.chobbang {
/*
font-size: 200px;
*/
font-style: italic;
color: #cc3300";
}
HTML 코드
<html>
<head><title></title>
<style type="text/css">
/*
CSS 코드 위치
*/
</style>
</head>
<body>
<span class="chobbang">chobbang.com</span>
</body>
</html>
주석 사용결과
comment.
chobbang 클래스를 적용.
주석처리한 font-size:200px외에 font-style과 color가 적용됨.
반응형
댓글1