You are on page 1of 1

GLOSSARY (TEACHER) HTML - Sololearn Course

2.1 Basic structure

6.1 Headings, lines and comments


<h1> big heading </h1> middle headings h2, h3, h4, h5
<h6> small heading </h6>
<hr/> horizontal line (rule)
<!-- Comment, not displayed o the website, only to put notes on the code–>

7.1 Paragraphs
<p> complete paragraph </p>
<br/> line break - jumps line

8.1 Text formatting


<b> bold text </b>
<big> big text </big>
<i> Italics text </i>
<small> small text </small>
<strong> strong text </strong>
<sub> subscripted text </sub> small text under main
<sup> superscriped text </sup> small text over the main text
<ins> inserted text </ins> underlined
<del> deleted text </del>

11.1 Attributes
<p align=”center/right/left”> aligns elements in the page
<hr width=”50 px”> or <hr width =50%”> changes size

12.1 Images
<img src=”tree.jpg” or “http://…..” alt=”........”>
you can add attributes width=”50 px” or width=”50%”
you can add border=”1px”

13.1 Lists
<ol> Creates a ordered list → if you want an unordered list use <ul></ul>
<li> first element</li>
<li> second element </li>
</ol>

15.1 Tables
<table> bgcolor=”red, blue,... “ can be used in any of them
<tr> table row (line) first one can be <th> table heading - bigger text</th>
<td> table division - column </td>
<td> table division - column </td>
<td colspan=”n”> </td> joints n cells
</tr>
</table>

16.1 Links
<a href=”text or complete URL” target=”_blank”> element (text, picture, etc </a>

21.1 Colors
<body bgcolor=”#CDE429”
<font color=”red”>

You might also like