HTML 태그 - code
본문
HTML 태그 - code
<code>태그는 컴퓨터코드의 조각을 표현할 때 사용합니다. 브라우저의 기본고정폭 글꼴로 표시됩니다.
샘플
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="코리아뉴스" />
<title> html공부 </title>
<link rel="stylesheet" type="text/css" href="default.css" / >
<style type="text/css">
body {
color:red;
}
</style>
</head>
<body>
<section>
<h1>code태그</h1>
<p> 컴퓨터코드부분을 표현할 때 <code> 이부분은 코드 </code>
code 태그를 사용합니다. </p> </section> <div id="related"> <p>영역 </p> </div> <footer> <address> 전화 : 031-574-3659, E-mail : master@koreanews.com </address> Copyright ⓒ 2013 Koreanews co., All Rights Reserved. </footer> </body>
</html>
- 이전글HTML 태그 - col 14.12.11
- 다음글HTML 태그 - cite 14.12.11