Computer Code
Th? HTML �?nh d?ng Keyboard
- X�c �?nh ki?u nh?p v�o keyboard
- V� d?:
Th? <samp>
- Th? <samp> x�c �?nh m?t �?u ra m�y t�nh:
Th? <code>
- Th? <code> x�c �?nh m? l?p tr?nh
�? hi?n th? ch�nh x�c b?n c?n th�m th? <pre>
Th? <var>
- Th? <var> x�c �?nh m?t bi?n to�n h?c:
D?ch v� bi�n t?p t? w3schools b?i Qu? L?
var person = {
firstName:"John",
lastName:"Doe",
age:50,
eyeColor:"blue"
}
Th? HTML �?nh d?ng Keyboard
- X�c �?nh ki?u nh?p v�o keyboard
- V� d?:
<p>To open a file, select:</p>
<p><kbd>File | Open...</kbd></p>
Th? <samp>
- Th? <samp> x�c �?nh m?t �?u ra m�y t�nh:
<samp>
demo.example.com login: Apr 12 09:10:17
Linux 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189
</samp>
Th? <code>
- Th? <code> x�c �?nh m? l?p tr?nh
<code>
var person = { firstName:"John", lastName:"Doe", age:50, eyeColor:"blue" }
</code>
<p>Coding Example:</p>
<code>
var person = {
firstName:"John",
lastName:"Doe",
age:50,
eyeColor:"blue"
}
</code>
�? hi?n th? ch�nh x�c b?n c?n th�m th? <pre>
<p>Coding Example:</p>
<code>
<pre>
var person = {
firstName:"John",
lastName:"Doe",
age:50,
eyeColor:"blue"
}
</pre>
</code>
Th? <var>
- Th? <var> x�c �?nh m?t bi?n to�n h?c:
<p>Einstein vi?t:</p>
<p><var>E = m c<sup>2</sup></var></p>
D?ch v� bi�n t?p t? w3schools b?i Qu? L?
HTML 11 - HTML Computer Code Elements
4/
5
Oleh
Unknown