snipt

Ctrl+h for KB shortcuts

HTML

simple zpt example for base zope3 application

1
2
3
4
<div tal:attributes="class here/class; style string:border: 1px solid black;"
     tal:content="string:Hello World!">
    Hello World!
</div>
https://snipt.net/embed/9caf7d9268bca551c6d723c5c455f336/
/raw/9caf7d9268bca551c6d723c5c455f336/
9caf7d9268bca551c6d723c5c455f336
html
HTML
4
2019-06-21T09:07:10
True
False
False
/api/public/snipt/2367/
simple-zpt-example-for-base-zope3-application
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">div</span> <span class="na">tal:attributes</span><span class="o">=</span><span class="s">&quot;class here/class; style string:border: 1px solid black;&quot;</span> </span><span id="L-2"><a name="L-2"></a> <span class="na">tal:content</span><span class="o">=</span><span class="s">&quot;string:Hello World!&quot;</span><span class="p">&gt;</span> </span><span id="L-3"><a name="L-3"></a> Hello World! </span><span id="L-4"><a name="L-4"></a><span class="p">&lt;/</span><span class="nt">div</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
zope3, zpt