aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 5 - Built-in Reference

§ 5.1 - [span] Built-In

Mnemonic aid: span for html span

The content is wrapped with HTML span tags. There are three convenience options; style, id and class. In addition, there is a custom element option, cel. cel allows you to add any arbitrary element or elements to the span. The examples show uses of each:

Note:"style" is not an aa_macrov3 style: it specifies the HTML style local to the span.

[span (style=sty,)(id=id,)(class=class,)(cel=custom elements,)content]

[span test1]
[span style=color: #ff8844;,test2]
[span class=foo,test3]
[span id=me,test4]
[span cel=lang="en",test5]
[span class=foo,id=me,style=color: #ff8844;,cel=lang="en",test6]

<span>test1</span>
<span style="color: #ff8844;">test2</span>
<span class="foo">test3</span>
<span id="me">test4</span>
<span lang="en">test5</span>
<span class="foo" id="me" style="color: #ff8844;" lang="en">test6</span>
test1 test2 test3 test4 test5 test6
Keyboard Navigation
, Previous Page . Next Page t TOC i Index
This manual was generated with wtfm
on March 6th, 2026 at 15:10 MT
wtfm uses aa_macrov3 and SqLite
aa_macrov3 uses Python 3