Tag: HTML
br (HTML) - Brake, HTML käsk, mis liigub järgmisele reale.
Näide: <p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>
button (CSS, HTML) - HTML silt, mis mõeldud nuppude loomiseks.
Näide:
<button type="button">Click Me!</button>
colspan (HTML) - HTML käsk, lahtri ulatuse tegemiseks mitme veeru ulatuses
Näide:
<table>
<tr>
<th colspan="2">Name</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>43</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>57</td>
</tr>
</table>
display (HTML) - CSS käsk, määrab ekraani paigutust.
Näide:
li {
display: inline;
}
Div (CSS, HTML) - Division, HTML kutse, konteinerima HTML elementide jaoks.
Näide:
<div class="myDiv">
<h2>This is a heading in a div element</h2>
<p>This is some text in a div element.</p>
</div>
form (CSS, HTML) - HTML käsk, mis teeb vormi.
Näide:
<form>
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname">
</form>
h1 — h6 (CSS, HTML) - Heading / Pealkiri
HTML silt, mis määrab pealkirja.
Näide:
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
header (HTML) - вверхняя часть сайта, <header>