HTML-CSS Course
HTML-CSS Course
<!-- ... --> Code in comment. <table param...> Table creation tag. colors <form params...> Creation of a form.
<H1>|<H2>|...<H6> Header : titres hiérarchisés de niveau width=length Width of the table. Constants Notations action=URI URI of the processing page.
... respective 1, 2, 3, 4, 5, 6. RGB symbols
</H1>|</H2>|...</H6> (1 = big, 6 = small) border=integer Border thickness. method=get|post Data submission method:
Black "#000000"
"get": données concaténées à l'URI.
<P param...> ... </p> Paragraph. bgcolor=couleur Background color. "post": données transmise dans le corps de
Silver #C0C0C0
the request
align=alignment Text color. cellspacing=length Cell size space.
Gray "#808080"
target=frame Name of the frame that will display the result.
title=texte Tooltip text. cellpadding=length Spacing size between the
border of a cell and its White "#FFFFFF"
<input params...> Form component.
<br> Forced line break. content. Maroon "#800000"
type=type Component type:
<pre> ... </pre> Preformatted text (html tags ignored). dir=direction "LTR" : cellules de gauche à Red "#FF0000" text simple line of text,
right (default) password: mot de passe,
... Text in emphasis (italic). "RTL" : cellules de droite à Purple "#800080" checkbox: boite à cocher,
left radio radio button
... Bold text. Fuchsia #FF00FF submit submit button
<thead>...</thead> Header grouping.
Citation image graphic submit button,
Silver #C0C0C0
</blockquote> <tfoot>...</tfoot> Table leg grouping. reset reset button
Green #008000 button simple button
cite=URI URI of the citation source. <tbody>...</tbody> Table body grouping. hidden hidden component,
Lime "#00FF00" file file selector.
title=texte Texte de l'info bulle. <tr param...>...</tr> Body line, header or footer.
Olive "#808000" name=texte Field name.
<HR params...> Insert a horizontal separation line. <th param...>...</th> Header cell (text in
grass). Yellow #FFFF00 value=texte Default value of the component.
width=length Line width.
<td param...>...</td> Table cell. Navy "#000080" size=entier Size in pixels or characters
align=alignment Alignment of the line.
colspan=n Merge the cell with cell n-1 Blue #0000FF maxlength=integer Maximum input length.
size=entier Height of the line in points. right cells.
Teal #008080 checked Radio or checkbox component activated.
<A params...> ... </A> Hyperlink. rowspan=n Merge the cell with the n-1
cells underneath. Water #00FFFF src=URI Image URI (image type only)
href=URI URI of the referenced document.
Width, border, bgcolor, <textarea params...> Text input area containing text
target=frame Name of the framework that is to receive the the same
cellspacing,cellpadding initial text initial.
document. Special values: </textarea>
"_blank": nouvelle fenêtre, </table> End table tag.
_self same frame name=texte Field name.
"_parent": cadre parent,
"_top": cadre de plus haut niveau. Frames rows=integer Number of lines.
<TT> ... </TT> Text in teletype style. font-size xx-small, x-small, small, medium, large, x-large, xx-large,
Backgrounds smaller, larger, length, %
... Text in italics. background Background color, background image, background repeat, background attachment
background-position font-size-adjust: none, number
... Bold text.
background-attachment scroll, fixed font-stretch normal, wider, narrower, ultra-condensed, extra-
... Underlined text. condensed, condensed, semi-condensed, semi-expanded
background-color color-rgb, color-hex, color-name, transparent {"expanded":"expanded","extra-expanded":"extra-expanded","ultra-expanded":"ultra-expanded"}
... Struck text.
background-image url, none font-style normal, italic, oblique
... Text in large font.
background-position ["top left","top center","top right","center left","center center","center right","bottom left"] font-variant normal, small-caps
... Text in small font. bottom center, bottom right, x-% y-%, x-pos y-pos
font-weight normal, bold, bolder, lighter, 100, 200, 300, 400, 500,
Change the style of the text. background-repeat repeat, repeat-x, repeat-y, no-repeat 600, 700, 800, 900
size =entier Absolute or relative size
from the police. Spacings Classification
padding padding-top, padding-right, padding-bottom clear left, right, both, none
color=couleur Text color. padding-left
cursor url, auto, crosshair, default, pointer, move, e-
padding-bottom, padding-top, padding-left, padding-right length, %
Images resize, ne-resize, nw-resize, n-resize, se-resize,
text
<img param...> Image insertion tag Borders
display ["none","inline","block","list-item","run-in","compact"]
src=uri Image URI border-color color
marker, table, inline-table, table-row-group
border-style None, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset table-header-group, table-footer-group, table-
alt=text Short description
row, table-column-group, table-column, table-
width=integer Display width border-width Thin, medium, thick, length cell, table-caption
Text
color color
Learn more ... direction ltr, rtl
W3C recommendation [Link]
letter-spacing normal, length
HTML reference [Link]
CSS2 reference [Link] text-align left, right, center, justify
text-indent length, %