Skip to content

Commit

Permalink
[e] (0) Clarify that this is not a convention, just a possible techni…
Browse files Browse the repository at this point in the history
…que for the author's own use.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18520
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7682 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 31, 2013
1 parent 7e1176b commit 311b789
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
11 changes: 5 additions & 6 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -21352,12 +21352,10 @@ <h4 id=the-code-element><span class=secno>4.6.12 </span>The <dfn><code>code</cod
computer program, or any other string that a computer would
recognize.</p>

<p>Although there is no formal way to indicate the language of
computer code being marked up, authors who wish to mark
<code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that
syntax highlighting scripts can use the right rules, may do so by
adding a class prefixed with "<code title="">language-</code>" to
the element.</p>
<p>There is no formal way to indicate the language of computer code being marked up. Authors who
wish to mark <code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that syntax highlighting
scripts can use the right rules, can use the <code title=attr-class><a href=#classes>class</a></code> attribute, e.g.
by adding a class prefixed with "<code title="">language-</code>" to the element.</p>

<div class=example>

Expand Down Expand Up @@ -104021,6 +104019,7 @@ <h2 class=no-num id=references>References</h2><!--REFS-->
Atsushi Takayama,
Aurelien Levy,
Ave Wrigley,
Axel Dahmen,
Ben Boyle,
Ben Godfrey,
Ben Lerner,
Expand Down
11 changes: 5 additions & 6 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -21352,12 +21352,10 @@ this specification: the &lt;abbr&gt;WHATWG&lt;/abbr&gt; and the
computer program, or any other string that a computer would
recognize.</p>

<p>Although there is no formal way to indicate the language of
computer code being marked up, authors who wish to mark
<code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that
syntax highlighting scripts can use the right rules, may do so by
adding a class prefixed with "<code title="">language-</code>" to
the element.</p>
<p>There is no formal way to indicate the language of computer code being marked up. Authors who
wish to mark <code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that syntax highlighting
scripts can use the right rules, can use the <code title=attr-class><a href=#classes>class</a></code> attribute, e.g.
by adding a class prefixed with "<code title="">language-</code>" to the element.</p>

<div class=example>

Expand Down Expand Up @@ -104021,6 +104019,7 @@ if (s = prompt('What is your name?')) {
Atsushi Takayama,
Aurelien Levy,
Ave Wrigley,
Axel Dahmen,
Ben Boyle,
Ben Godfrey,
Ben Lerner,
Expand Down
11 changes: 5 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -22589,12 +22589,10 @@ this specification: the &lt;abbr>WHATWG&lt;/abbr> and the
computer program, or any other string that a computer would
recognize.</p>

<p>Although there is no formal way to indicate the language of
computer code being marked up, authors who wish to mark
<code>code</code> elements with the language used, e.g. so that
syntax highlighting scripts can use the right rules, may do so by
adding a class prefixed with "<code title="">language-</code>" to
the element.</p>
<p>There is no formal way to indicate the language of computer code being marked up. Authors who
wish to mark <code>code</code> elements with the language used, e.g. so that syntax highlighting
scripts can use the right rules, can use the <code title="attr-class">class</code> attribute, e.g.
by adding a class prefixed with "<code title="">language-</code>" to the element.</p>

<div class="example">

Expand Down Expand Up @@ -121804,6 +121802,7 @@ if (s = prompt('What is your name?')) {
Atsushi Takayama,
Aurelien Levy,
Ave Wrigley,
Axel Dahmen,
Ben Boyle,
Ben Godfrey,
Ben Lerner,
Expand Down

0 comments on commit 311b789

Please sign in to comment.