코딩/Html5 <table> table 은 tag로 만든다 table data의 row는 , 은 tag로 정의함 는 data container의 역할을 함 - html의 모든 종류의 element를 담을 수 있다 ( text, img, table, list..... )border 는 표를 둘러싸는 경계선의 종류를 정의함 - border="1", border="2"로 표시하며, 숫자가 커질수록 두꺼워진다 colspan 은 column이 몇칸을 차지하는지를 정의함 - column="2"는 2칸을 차지함 - td 안에 data가 없는 빈칸으로 남겨둬야 하기때문에 로 표기함 tag내에 align="center" 로 테이블 위치를 지정할 수 있다 tag내에 bgcolor로 배경색을 지정함 - bgcolor="red", "green".... 2022. 8. 7. <a> tag tag가 붙으면 hyperlink역할을 한다 tistory 2022. 8. 7. ol, ul ol (ordered list) - tag로 시작하며, tag로 list를 나열함 - a,b,c,.... - 1,2,3.... - i,ii,iii,iv.... ul (unordered list) 2022. 8. 7. <Img> tag tag - 이미지 파일을 넣기위해 사용함 contains only attiributes closing tag 없음 src - 이미지 파일의 위치를 지정함 image file을 정의하는 방법 (같은 폴더에 있지 않을때에도) left-click the image click on properties now you can see "location" copy the location and paste it after the src attribute add "/" and then write the name of the picture +".jpg" alt - 이미지 파일의 부연설명, 구글 등 검색엔진에서 이 설명을 보고 올바른 사진이 사용되었는지 판단하므로 꼭 넣어주자. 이미지 size조절 - width, height.. 2022. 8. 6. 이전 1 2 다음