diff --git a/source b/source index 910b94e0382..aecdd53f2c4 100644 --- a/source +++ b/source @@ -20260,11 +20260,11 @@ two</samp> but I didn't know what that meant.</p>
This second example shows a block of sample output. Nested samp
and
- kbd
elements allow for the styling of specific elements of the sample output using a
- style sheet. There's also a few parts of the samp
that are annotated with even more
- detailed markup, to enable very precise styling. To achieve this, span
elements are
- used.
This second example shows a block of sample output from a console program. Nested
+ samp
and kbd
elements allow for the styling of specific elements
+ of the sample output using a style sheet. There's also a few parts of the samp
that
+ are annotated with even more detailed markup, to enable very precise styling. To achieve this,
+ span
elements are used.
<pre><samp><span class="prompt">jdoe@mowmow:~$</span> <kbd>ssh demo.example.com</kbd> Last login: Tue Apr 12 09:10:17 2005 from mowmow.example.com on pts/1 @@ -20274,6 +20274,18 @@ Linux demo 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189 #1 SM
This third example shows a block of input and its respective output. The example uses
+ both code
and samp
elements.
<pre> +<code class="language-javascript">console.log(2.3 + 2.4)</code> +<samp>4.699999999999999</samp> +</pre>+ +
kbd
element