<output>
: The <output>
HTML element is a container element into which a site or app can inject the results of calculation or the outcome of a user action.<output>
νκ·Έλ μ¬μ΄νΈ/μ±μ΄ κ³μ°ν κ²°κ³Όλ μ¬μ©μ νλμ κ²°κ³Όλ₯Ό λ£μ μ μλ 컨ν
μ΄λ μμ<input>
or <textarea>
element is changed.<input>
μ΄λ <textarea>
μ κ°μ΄ λ³ν λ λ°μνλ μ΄λ²€νΈ<progress>
: The <progress>
HTML element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.<progress>
νκ·Έλ μμ
μ μ§νλ₯ μ 보μ¬μ£Όλ μμ<form>
<fieldset oninput="volume.value=parseInt(volumeBar.value)">
<legend>Volume</legend>
<input id="volumeBar" name="bar" type="range" title="λ²μμ ν" />
<output name="volume" title="λ³Όλ₯¨νμ">0</output>
</fieldset>
</form>
Volume
0
<!-- MDN -->
<form oninput="result.value=parseInt(a.value)+parseInt(b.value)">
<input type="range" id="b" name="b" value="50" /> +
<input type="number" id="a" name="a" value="10" /> =
<output name="result" for="a b">60</output>
</form>
+
=
60
<!-- brνκ·Έ μ¬μ© μ£Όμ -->
<form>
<fieldset>
<legend>Programming Skill</legend>
<label for="html">HTML</label>
<progress id="html" value="85" max="100">85%</progress><br />
<label for="css">CSS</label>
<progress id="css" value="85" max="100">85%</progress><br />
<label for="javascript">Javascript</label>
<progress id="javascript" value="35" max="100">35%</progress><br />
</fieldset>
</form>
Programming Skill
HTML
85%<label>
μ¬μ©λ²<label>
μ΄λ¦ :
<input type="text" name="name">
</label>
for
μμ±μ μ΄μ©ν΄ λ μ΄λΈμ μ§μ νλ λ°©μ<label for="myName">μ΄λ¦ : </label>
<input type="text" name="name" id="myName">
display
μμ±μ μ¬μ©ν΄ μμμ μκ°μ νν λ 벨μ λ°κΏ μ μλ€. νμ§λ§ μ΄ λ°©λ²μ μ¬μ©ν΄λ μμμ μΉ΄ν
κ³ λ¦¬μ μ½ν
μΈ λͺ¨λΈμ λ°λμ§ μλλ€. μ¦ <span>
μμμ display
λ₯Ό block
μΌλ‘ μ§μ νλ€ ν΄λ, κ·Έ μμ λΈλ‘ λ 벨 μμμΈ <div>
λ₯Ό λ£μ μ μλ€.p {
font-size: 14px;
color: yellow;
}
p
: selectorfont-size
, color
: sroperty14px
, yellow
: valuefont-size: 14px;
, color: yellow
: declaration1996λ CSS1, 1998λ CSS2, 2005λ CSS3, κ°λ° μ€μ΄λ©°, 그리λ λ μ΄μμμ κ²½μ° λ 벨1μλ λλ¬νμ§ λͺ»νκΈ° λλ¬Έμ μ νν μ°λ¦¬κ° λ°°μ°λ κ²μ CSS3λΌκ³ λ§ν μ μλ€.
@
rk λΆλ λ¬Έλ² = at-rule@import url("hello.css");
@import url(hello.css);
@import url("./hello.css");
@import "hello.css";
/* @import hello.css;λ μλ©λλ€.*/
/* style.css - μ΄κΈ°μ€μ */
* {
box-sizing : border-box;
}
h1 {color: black;}
h1 {
color: black;
}
h1 {
color : black;}
h1 {
border: solid 1px black;
}
h1 {
border: solid 1px black;
}
h1 {
border:
solid
1px
black;
}
h1 {
border:
solid
1px
black
;
}
/* ν μ€, μ¬λ¬ μ€ λͺ¨λ μ΄λ κ² μ¬μ©ν©λλ€. */
μμ± μ νμ
μμ±
μ κ°μ§ νκ·Έ μ νμμ±
μ κ°μ΄ λ³μ
μ μΌμΉνλ νκ·Έ μ ν, 곡백μ ν¬ν¨νμ§ μλλ€μμ±μ΄λ¦
μ κ°μ΄ λ³μ
λ₯Ό ν¬ν¨νλ νκ·Έ μ ν, 곡백 ν¬ν¨ μμ±
κ°μ΄ λ³μ
λ‘ μμνλ νκ·Έ μ ν μμ±
κ°μ΄ λ³μ
λ‘ λλλ νκ·Έ μ ν μμ±
κ°μ΄ λ³μ
λ¬Έμμ΄μ ν¬ν¨ νκ·Έ μ νμμ±
κ°μ΄ λ³μ
μ΄κ±°λ λ³μ
λ‘ μμνλ νκ·Έ μ νκ°μ ν΄λμ€ μ νμ : μ€μ λ‘ htmlμ μ‘΄μ¬νμ§ μλ ν΄λμ€μ§λ§ λ§μΉ ν΄λμ€λ₯Ό λμ κ²μ²λΌ μλ / nth-child, active, focus, hover λ±
κ°μ μμ μ νμ : λ§ν¬μ μλ μμλ₯Ό μ½μ / after, before λ±
μ°μ μμ : id > class > tag μ
μ°μ μμ κ³μ° : μ νμ μ°μ μμλ ꡬ체μ μΌλ‘ μ«μλ‘μ κ³μ°μ΄ κ°λ₯
!important
: μ λμ μΈ μ°μ μμ. μ¬μ΄ λ°©λ²μ΄μ§λ§ λΆκ°νΌν μν©μ΄ μλλΌλ©΄ μ¬μ©νμ§ μλ κ²μ΄ μ’λ€.