Project Cerbera > Web Technology > Study > 2008 > Code Samples
Code Samples
Highlit Code (35 entries)
- FileInfo - Karl E. Peterson
<span class>.
- Frank Helpware: noscript
<ol class><li><pre>...</pre></li><li><pre>...</pre></li></ol> for something else?
<span class> for important parts.
- Fredrik Lundh: Unescape
<pre class><span class>.
- GBCF-v3 - Help Page and Documentation - GBCF-v3 Demo
<pre>... <span>...</span> ...</pre> to highlight string values.
- highlight code
- Lots
<span class>.
- HTML 4 for Dummies
<span style>.
- html5lib - Google
<span class>.
.
class="prettyprint".
- Icey » Code Viewer
<p><code>+<span style=RGB()>.
- John Resig - getElementsByClassName
<span style>.
- JScript Blog
<font>
<u>
- Authored by Microsoft Office?
- MSDN
<span style>.
- MSDN: Introduction to CSS
- 50% screenshot.
- Too hard?
- MSDN: Language Geek
<blockquote><pre class> and <span style>.
- Open: glob
<p><code> for <pre><code>.
<tt> for runs of code.
<i> for <var>.
- Prof-UIS
<code><span class>.
- Sam Ruby: Addressable
<pre class> for <pre><code>.
<b> for comments.
<span style> for other colouring.
- Semantic tags and Vim - Olivier Mengué
<pre><samp> for terminal output.
<kbd> for commands entered by the user.
<var> for output which can vary.
<pre class> for CSS, HTML, XSLT and so on.
<span class> for syntax, keywords and comments.
- SitePoint: CSS filter
<div><kbd>...</kbd><kbd>:</kbd><var>...</var><kbd>;</kbd></div> for <p><code>...: <var>...</var>;</code></p>.
- SitePoint: CSS zoom
<div class="syntax"><div><kbd>...</kbd><kbd>:</kbd> { <var>...</var> | <var title="..."><a href>...</a></var> | <kbd>...</kbd> } <kbd>;</kbd></div></div> for <code>...: <span>{ <var>...</var> | <var><a href title="...">...</a></var> | <span>...</span> }</span> ;</code>.
- symfony » Chapter 12
<span class>.
- Syntax Highlighting
<i>.
<b>.
- Syntax highlighting experiment
<pre class> selected by JavaScript to add lots of <span class>.
- Template Tags/list cats
<font color>.
- Unspace - Haml
- Highlight did not apply.
<div class><code> with for <pre><code> with whitespace.
- Visual Basic Controls
<font color>.
- W3bdevil
<span class>.
- danwebb.net: Low Pro
<pre><code class> triggers Javascript which adds <span class> throughout.
- DigiTV Wiki: XML
<div class><div class><table class><tbody><tr><td class><span></span><span class>...</span><span>...</span>.
- gsnedders: XHTML/HTML
- PHP.
<pre><span style>...</span> <span style>...</span>.
- gsnedders: XHTML/HTML Followup
- Same method as "XHTML/HTML" piece.
- Morethanseven » TXP2Radiant
- Links to a
.phps page.
<span style>.
- Paciello: ARIA Slider 2
<div class style><ol><li class><div class><span class><span class>...</span> <span class>...</span>...<span class>...</span> <span class>...</span>...<span class>...</span><span class>></span></span>... <span class><span class></...<span class>></span></span></span></div></li>...</ol> for <pre><code>...↵...</code></pre>.
- Many different
<span class> use same style.
- Same style often continues over
<span> boundaries.
- sdesign1: array.phps
<font color>.
for <pre>.
- sdesign1: mainMenu.phps
- Same as above.
Code Samples, not hightlit (26 entries)
- About the LazyWeb
<textarea> for <pre><code> with CSS height in em.
- ChatZilla FAQ
<div class>...</div><div class>...</div></div> for <h4>...</h4><pre><kbd>...</kbd></pre> around command line input.
<div class>...</div><div class>...</div></div> for <h4>...</h4><pre><samp>...</samp></pre> around command line output.
- CSUN: Best Practices
<div class><p>...<br>... for <pre><code>...↵....
- Elements of Type...
<span class> for absent <span class> as no highlighting is applied.
- GNOME: Accerciser
<pre> for <pre><kbd>.
- Google Chart API
<p><code> for <pre><code>.
<pre> for <pre><code>.
<td rowspan> with 2 values.
- IEBlog: IE8 UA String
<blockquote><p> for <blockquote><code> or <pre><code>.
<blockquote><p><font color> for <pre><code> or <pre class><code>.
- IntelliAdmin: IE 7 Settings
<br><br><span style> for <pre><code>.
- ishida: XMetal
<blockquote><pre> for <pre><code>.
- javaScript alert method - how to use syntax - online javascript reference
<pre><strong> for <pre><code> with CSS font-weight.
- Joe Dolson: 8 Checkups
<pre> for <pre><code>.
- Malarkey: The Fine Art of Markup
<p><code>...<br>...<br> for <pre><code>...↵...↵.
- Monads!
<br><pre>...</pre><br> for <pre><code> when code, <pre> when ASCII art.
- NYPL Style Guide
<blockquote><p><code> for <pre><code>.
- Search Engine Highlighting
<code>...<br />...</code> for <pre><code>...↵...</code></pre>.
- Selectutorial: Class selectors
<code>...<br>...</code> for <pre><code>...↵...</code></pre>.
- SitePoint: CSS filter
<pre><code class> for <pre class><code> perhaps?
- Tech Talk PT: Building accessible Sharepoint sites - Part 1
<p><em> for <pre<code> 2 times.
- Think in code: APE RubyGems
<pre class><code> for <pre><kbd>.
- Think in code: atom_pub_server
<pre class> for <pre><code>.
- WAC: longdesc
<p>...<br>...</p> for <p>...</p><pre><code>...</code></pre>.
- Walterzorn Drag & Drop
<td><table>...<table>...<td bgcolor><tt><font style size>...<br>... for <pre><code>...↵....
- Webkit CSS Animation
<pre> for <pre><code>.
- Unmarked CSS blocks in comments.
- Wikipedia: Dcoetzee Wikicode
<pre> for <pre><code>.
<i> for comments and types.
<b> for function names.
- Wilfblog: postgresql
<pre> with ASCII art tables for <pre><samp> or HTML tables.
- YUI
<pre class="code"> for <pre><code>.
- YUI: Performance V
<pre> for <pre><code> or <pre><samp>.