̾ƿ(Layout)
CSS ̾ƿ
̺1
̺2
Ÿ(Meta)
̹(image map)
(iframe)
Է¾(form)
ؽƮ ʵ(Text Field)
н(Password Field)
ؽƮ(textarea)
Ʈڽ(select)
üũڽ(Check Box)
ư(Radio Button)
¹ư(Reset Button)
۹ư(Submit Button)
̹ ư(Image Type)
(File Form Control)
ʵ(Hidden Field)
label
autocomplete
ʵ(Fieldset)
(Marquee)
HTML XHTML
Ʈ(Object)
üũڽ(Check Box)

Ʈڽ(select) ư(radio button) ϳ ִ ݸ üũڽ ִٴ Ư¡ ֽϴ.

<input type="checkbox" name="chk_info" value="HTML">HTML
<input type="checkbox" name="chk_info" value="CSS">CSS
<input type="checkbox" name="chk_info" value="">

⺻ üũڽ(Check Box) Դϴ.

HTML CSS

value Ӽ ý ִ մϴ.

CSS ⺻ õä ҷ checked Ӽ ϸ ˴ϴ.

<input type="checkbox" name="chk_info" value="HTML">HTML
<input type="checkbox" name="chk_info" value="CSS" checked="checked">CSS
<input type="checkbox" name="chk_info" value="">

Ʒ CSS ⺻ õ · µ˴ϴ.

HTML CSS


üũڽ(Check Box) ֱ⿡ ۵ɶ  ۵Ǵ ؾ մϴ.

üũڽ name Ӽ 3 "chk_info" Ͽϴ. ̶ HTML CSS ÿ ϸ chk_info ʵ "HTML,CSS" ̷ ϴ.

α׷ ۵ óغ value ߿ Ⱑ ϴ. ׷ ڿ Է ϶ 䱸ϴ  ޾Ƽ ̸ óϱ ΰ ؾ մϴ.

ظ ¿ <form>±׿ ʵ带 Ѵٴ Դϴ.

Copyright © Homejjang.com All rights reserved.