The element behaves like an inline element and lays out its content according to the flexbox model.
Cet élément se comporte comme un élément en ligne et dispose son contenu selon le modèle de boîte flexible.
The following example demonstrates the inline element's influence
An inline element must always be in a block element, and a block element can't be in an inline element.
<em> is an inline element, so as you can see below, the first three elements sit on the same line as one another with no space in between.
<em> est un élément en ligne et, comme vous pouvez le voir ci-dessous, les trois premiers éléments s'affichent sur la même ligne sans qu'il n'y ait d'espace entre eux.
This caused issues with translation memory since the parent element contained English text and the inline element contained translated text.
Cela causait des problèmes avec la mémoire de traduction car l'élément parent contenait du texte anglais et l'élément en ligne contenait du texte traduit.
If an inline element starts on a newline in a DITA file, the space typically that the previous CR created is lost.
Si un élément en ligne commence sur une nouvelle ligne dans un fichier DITA, l'espace que la balise CR précédente crée généralement est perdu.
The HTML <span> is an inline element and it can be used to group inline-elements in an HTML document.
Le code HTML <span> est un élément en ligne et il peut être utilisé pour des éléments en ligne-groupe dans un document HTML.
Element, HTML, HTML text-level semantics, Reference, Web The HTML <kbd> element represents user input and produces an inline element displayed in the browser's default monospace font.
HTML, Référence, Web, Élément L'élément HTML <kbd> représente la saisie d'un utilisateur et produit un élément en ligne affiché avec la police à chasse fixe du navigateur.
An inline element occupies only the space bounded by the tags that define the inline element.
Un élément en ligne occupe seulement un espace limité par les étiquettes qui définissent l'élément en ligne.
The method further includes displaying a portion of the data of the web page using the reduced width of the at least one inline element, wherein contents of the at least one inline element are wrapped once the width of the display screen is reached.
Ledit procédé comprend également l'affichage d'une partie des données de la page web, au moyen de la largeur réduite de l'élément en ligne, les contenus dudit élément en ligne étant bouclés, lorsque la largeur de l'écran d'affichage est atteint.
The a element is the most common inline element, since you use them for links.
L'élément a est l'élément inline le plus courant, puisque vous l'utilisez pour vos liens.
Setting images to be blocks The first choice, and one that will work for most graphically-intense designs, is to convert the image from being an inline element to a block-level element.
Le premier choix, et un de ceux qui fonctionnera pour les graphismes chargés en images, est de convertir les images, qui sont par défaut des éléments en-ligne, en éléments de type bloc.
Note: Don't be too concerned if you don't completely understand display: block; or the differences between a block element and an inline element.
Note : C'est tout à fait normal si vous ne comprenez pas complètement display: block; et les différences entre bloc et inline.