HTML body 배경그림 넣기

Jmnote (토론 | 기여)님의 2014년 7월 14일 (월) 20:38 판 (새 문서: ==개요== ;HTML body background image ;HTML body 배경그림 넣기 <source lang='html5' highlight='3'> <style> body { background-image:url('그림주소'); background-color: ...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

HTML body background image
HTML body 배경그림 넣기
<style>
body {
  background-image:url('그림주소');
  background-color: 배경색;
}
</style>

2 방법 2: body 속성 (비추)

<style tyle="text/css">
body {
  background-image:url('//www.w3schools.com/tags/w3s.png');
  background-color: #eeeeee;
}
</style>
<body>
<h1>안녕 친구들!</h1>
<p>background 속성은 HTML5 표준이 아닙니다. CSS를 이용하세요.</p>
</body>

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}