▣ <pre> 태그
· 공백, 특수문자, 줄 바꿈 등도 사용자가 입력한 그대로 화면에 표시
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<header>
<center>
<h2>< pre > 태그</h2>
</center>
</header>
<section>
<article>
<pre>
### 풀스택 개발자를 위한 웹 프로그래밍 ###
HTML5 & CSS3 & JavaScript & JQuery
< 가격 : 35,000원 >
</pre>
</article>
</section>
<hr size="10" align="left" width="90%" noshade="noshade">
<footer>
<small>© 아이티에듀넷 ® 2017</small>
</footer>
</body>
</html>
'웹프로그래밍 HTML > 태그와 멀티미디어' 카테고리의 다른 글
<table> 태그 (0) | 2025.03.05 |
---|---|
목록 태그의 종류 (1) | 2025.03.05 |
<a>태그 (0) | 2025.03.05 |
텍스트 관련 태그 (0) | 2025.03.05 |
HTML5 문서에서 특수문자 처리 방법 (0) | 2025.03.04 |