๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

๊ฐœ๋ฐœ์–ธ์–ด42

[CSS] 216 Safe Colors ์ปฌ๋Ÿฌ์ฝ”๋“œ ๋ชจ์Œ 216 Safe Colors ์ฐจํŠธ Hex Swatch Hex Code Dec Code % Code HSL Code CMYK Code #000000 rgb(0, 0, 0) rgb(0%, 0%, 0%) hsl(0, 0%, 0%) cmyk(0%, 0%, 0%, 100%) #333333 rgb(51, 51, 51) rgb(20%, 20%, 20%) hsl(0, 0%, 20%) cmyk(0%, 0%, 0%, 80%) #666666 rgb(102, 102, 102) rgb(40%, 40%, 40%) hsl(0, 0%, 40%) cmyk(0%, 0%, 0%, 60%) #999999 rgb(153, 153, 153) rgb(60%, 60%, 60%) hsl(0, 0%, 60%) cmyk(0%, 0%, 0%, 40%) .. 2023. 6. 24.
[CSS] <h1> ~ <h6> ๊ธฐ๋ณธ๊ฐ’ ์ฝ”๋“œ โœจ ~ ํƒœ๊ทธ๋Š” HTML ๋ฌธ์„œ์—์„œ ์ œ๋ชฉ(heading)์„ ์ •์˜ํ•  ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” h1 ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” h2 ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” h3 ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” h4 ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” h5 ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” h6 ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ์ด ํ…์ŠคํŠธ๋Š” p ์š”์†Œ๋ฅผ ์‚ฌ์šฉํ•œ ๋‹จ๋ฝ์ž…๋‹ˆ๋‹ค. h1 { display: block; font-size: 2em; margin-top: 0.67em; margin-bottom: 0.67em; margin-left: 0; margin-right: 0; font-weight: bold; } h2 { display: block; font-size: 1.5em; margin-.. 2022. 6. 30.
[JSP/Servlet] ํŒŒ์ผ์—…๋กœ๋“œ ๊ตฌํ˜„ํ•˜๊ธฐ +ํŽ˜์ด์ง• ์•ˆ๋…•ํ•˜์„ธ์š” yunamom ์ž…๋‹ˆ๋‹ค :D ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ํŒŒ์ผ์—…๋กœ๋“œ(Mysql) , ํŒŒ์ผ ๋ชฉ๋ก, ํŒŒ์ผ ์ƒ์„ธ๋ณด๊ธฐํ™”๋ฉด์„ ๊ตฌํ˜„ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๐Ÿ‘ฉ๐Ÿป‍๐Ÿ’ป Mysql ํ…Œ์ด๋ธ” ์ƒ์„ฑ ๋ฐ webapp/images ํด๋” ์ƒ์„ฑ CREATE TABLE fileboard( unq INT unsigned NOT NULL AUTO_INCREMENT, name VARCHAR(50), title VARCHAR(100), fileName VARCHAR(200), hits INT unsigned default '0', uploadDate DATETIME, PRIMARY KEY(unq) ); INSERT INTO fileboard VALUES(1, 'ํ…Œ์ŠคํŠธ', 'ํŒŒ์ผ์—…๋กœ๋“œ ํ…Œ์ŠคํŠธ ์ž…๋‹ˆ๋‹ค.', 'file2.png', 0, sysdate()); .. 2022. 6. 13.
[Java] MAX_VALUE, MIN_VALUE ์ˆซ์žํƒ€์ž… ์œผ๋กœ ์„ ์–ธํ›„ MIN_VALUE, MAX_VALUE๋ฅผ ์ž‘์„ฑํ•˜๋ฉด ์‹ค์ œ ๊ทธ ๋ฐ์ดํ„ฐ ํƒ€์ž…์ด ํ‘œํ˜„ํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐ€์žฅ ์ž‘์€ ์ˆซ์ž์™€ ๊ฐ€์žฅ ํฐ ์ˆซ์ž ๊ฐ’์ด ํ• ๋‹น๋œ๋‹ค. System.out.printf("%20d ~ %d\n",Byte.MIN_VALUE,Byte.MAX_VALUE); System.out.printf("%20d ~ %d\n",Short.MIN_VALUE,Short.MAX_VALUE); System.out.printf("%20d ~ %d\n",Integer.MIN_VALUE,Integer.MAX_VALUE); System.out.printf("%20d ~ %d\n",Long.MIN_VALUE,Long.MAX_VALUE); System.out.printf("%20E ~ %E\n",Double.MIN_VAL.. 2022. 5. 13.
[์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ] onclick, onchange, onmouse, onkeyup ์ด๋ฒคํŠธ ํ•จ์ˆ˜ ์•ˆ๋…•ํ•˜์„ธ์š” yunamom ์ž…๋‹ˆ๋‹ค :D ์ด๋ฒˆ์‹œ๊ฐ„์—๋Š” JavaScript ์—์„œ ํ‚ค๋ณด๋“œ, ๋งˆ์šฐ์Šค ์ด๋ฒคํŠธ ํ•จ์ˆ˜์— ๋Œ€ํ•˜์—ฌ ํฌ์ŠคํŒ… ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.๐Ÿ˜Š onclick : ํด๋ฆญํ–ˆ์„๋•Œ onclick onclick function on1(){ var values = document.getElementById('o1').value; document.getElementById('o1').value = (values.length < 1)?"yunamom":""; } onmouseover : ๋งˆ์šฐ์Šค๋ฅผ ์˜ฌ๋ ธ์„ ๋•Œ / onmouseout : ๋งˆ์šฐ์Šค๋ฅผ ๋ฐ–์œผ๋กœ ์˜ฎ๊ฒผ์„ ๋•Œ onmouseover/onmouseout onmouseover/onmouseout function on2(){ document.getElementById('o2').valu.. 2022. 5. 10.
[Java] ๋Œ€๋ฌธ์ž, ์†Œ๋ฌธ์ž ๋ณ€ํ™˜ (to UpperCase, to LowerCase) ์•ˆ๋…•ํ•˜์„ธ์š” yunamom ์ž…๋‹ˆ๋‹ค :D ์ด๋ฒˆํฌ์ŠคํŒ…์—์„œ๋Š” JAVA ์—์„œ ๋ฌธ์ž์—ด์„ ๋Œ€๋ฌธ์ž or ์†Œ๋ฌธ์ž๋กœ ๋ณ€ํ™˜์‹œ์ผœ์ฃผ๋Š” ๋ฉ”์†Œ๋“œ์— ๋Œ€ํ•˜์—ฌ ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.๐Ÿ˜Š toUpperCase() : ๋Œ€๋ฌธ์ž๋กœ ๋ณ€ํ™˜ toUpperCase() ๋ฉ”์†Œ๋“œ๋Š” ๋ฌธ์ž์—ด์„ ๋ชจ๋‘ ๋Œ€๋ฌธ์ž๋กœ ๋ฐ”๊พธ์–ด ๋ณ€ํ™˜ํ•ด์ค๋‹ˆ๋‹ค. String str = "Hello World !"; str = str.toUpperCase(); System.out.println(str); // HELLO WORLD ! toLowerCase() : ์†Œ๋ฌธ์ž๋กœ ๋ณ€ํ™˜ toLowerCase() ๋ฉ”์†Œ๋“œ๋Š” ๋ฌธ์ž์—ด์„ ๋ชจ๋‘ ์†Œ๋ฌธ์ž๋กœ ๋ฐ”๊พธ์–ด ๋ณ€ํ™˜ํ•ด์ค๋‹ˆ๋‹ค. String str = "Hello World !"; str = str.toLowerCase(); System.out.println(str); // h.. 2022. 5. 5.
300x250

์ฝ”๋“œ