code.progysm.com

Balise XHTML hr

Description

Description:
Ligne horizontale (Horizontal Row)

Attributs

  id          ID             #IMPLIED
  class       CDATA          #IMPLIED
  style       %StyleSheet;   #IMPLIED
  title       %Text;         #IMPLIED
  lang        %LanguageCode; #IMPLIED
  xml:lang    %LanguageCode; #IMPLIED
  dir         (ltr|rtl)      #IMPLIED
  onclick     %Script;       #IMPLIED
  ondblclick  %Script;       #IMPLIED
  onmousedown %Script;       #IMPLIED
  onmouseup   %Script;       #IMPLIED
  onmouseover %Script;       #IMPLIED
  onmousemove %Script;       #IMPLIED
  onmouseout  %Script;       #IMPLIED
  onkeypress  %Script;       #IMPLIED
  onkeydown   %Script;       #IMPLIED
  onkeyup     %Script;       #IMPLIED

XHTML 1.0 Transitional seulement:
  align       (left|center|right) #IMPLIED
  noshade     (noshade)      #IMPLIED
  size        %Pixels;       #IMPLIED
  width       %Length;       #IMPLIED

CSS

display: block;
height: 2px;
margin: 0.5em auto 0.5em auto;

/* firefox */
border: 1px -moz-bg-inset;
-moz-float-edge: margin-box;
-moz-box-sizing: border-box;
        

Avec firefox, si l'attribut size est égal à 1, on ajoute: border-style: -moz-bg-solid none none none;

Imbrication XHTML 1.0 Strict

Peut être imbriquée à l'intérieur de:
blockquote, body, button, dd, del, div, fieldset, form, ins, li, map, noscript, object, td, th
Peut imbriquer: