씨밀레로 블로그

기본태그 익히기 본문

▒▒ 생활 이야기 ▒▒/컴퓨터상식

기본태그 익히기

청산거사 2006. 10. 1. 16:08

body의
속성
background 배경 이미지 <table width=100% background="http://이미지 파일 주소"><td valign=top>
bgcolor 배경 색 <table width=100% bgcolor="색이름 or 색상표 코드"><td valign=top>
text 글자색 지정 <table width=100% text="색이름 or 색상표 코드"><td valign=top>
link 링크된 글자의 색지정 <table width=100% link="색이름 or 색상표 코드"><td valign=top>
vlink 방문한 링크 색지정 <table width=100% vlink="색이름 or 색상표 코드"><td valign=top>
alink 클릭 했을때 링크 색지정 <table width=100% alink="색이름 or 색상표 코드"><td valign=top>

img의
속성
src 경로명 <img src="http://이미지 파일 주소">
aling 이미지의 위치 지정 <img src="http:// ~ " aling="left:right:centet:top:middle:down">
alt 풍선 도움말 <img src="http:// ~ " alt="도움말">
border 테두리 설정 <img src="http:// ~ " border="n"> n=수
height 이미지 높이 <img src="http:// ~ " height="n%"> % 또는 픽셀
width 이미지 넓이 <img src="http:// ~ " width="n%"> % 또는 픽셀
hspace 좌우 여백 <img src="http:// ~ " hspace="n%"> % 또는 픽셀
vspace 상하 여백 <img src="http:// ~ " vspace="n%"> % 또는 픽셀

marquee의
속성
behavior marquee의 영역 <marquee behavior="scroll : slide : alternate">
scroll 영역을 벗어나서 사라진다. <marquee behavior="scroll ">
slide 영역의 끝 부분에서 멈춥다. <marquee behavior="slide">
alternate 영역을 왔다 갔다 한다. <marquee behavior="alternate">
bgcolor 배경색을 지정 <marquee bgcolor="색상명 or 색상코드">
width & height 범위를 지정 <marquee width="n or n%" height="n or n%">
direction 움직이는 방향을 지정 <marquee direction="left,right,up,down">
scrolldelay 스크롤의 지연효과를 냅니다.
1000을 지정해 주면 1초간 정지됩니다.
<marquee scrolldelay="n(단위 milliseconds)">
scrollamount 스크롤의 이동폭(scrollamount="50" 이면
50픽셀씩 움직입니다)을 지정 합니다.
<marquee scrollamount="n(픽셀)">
loop 스크롤의 반복회수를 지정
(n은 반복수)
<marquee loop="n">

나머지
태그들
a 문서 연결 태그 <a href="http://문서 주소" target="문서의 위치 결정">
hn 글씨 크기 조정 <hn>~</hn> n은 1~6 까지
hr 가로줄 만들기. <hr contenteditable="false" data-ke-type="horizontalRule" data-ke-style="style5"/>
p 문단을 나눈다. <p>~</p> /p는 생략가능
br 한줄 띄우기 <br>
b 굵게 만들기. <b>~</b>
i 이텔릭체 <i>~</i>
u 밑줄 긋기 <u>~</u>
pre 임의의 형태로 만들기. <pre>~</pre>
xmp xmp안의 모든 태그를 무시 ~
[안내]태그제한으로등록되지않습니다-bgsound 음악 <[안내]태그제한으로등록되지않습니다-bgsound src="http:음악 파일 주소" loop=n>