S5语法

完整语法请参考 S5-Ref

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<div class="presentation">
 
  <!-- optional background sound played during the slide show -->
  <object data="[mp3 file]" archive="volume:80,loop" type="audio/mp3" ...
  ... class="handout" declare="declare" width="0" height="0"></object>
 
  <div class="slide">
  
    <h1>[slide title]</h1>
        
    [content displayed in this slide]
    
    <!-- optional dynamically generated pie|bar chart -->
    <table id="chart_data" summary="" class="[pie|bar]chart" border="0">
      <tr><td bgcolor="#923033"></td><td>Lamb:</td><td>66</td></tr>
      <tr><td    bgcolor="#ad3"></td><td>Beef:</td><td>99</td></tr>
      <tr><td     bgcolor="red"></td><td>Pork:</td><td>15</td></tr>
    </table>
    <!-- or optional dynamically generated line chart -->
    <table id="chart_data" summary="" class="linechart" border="0">
      <tr><td bgcolor="red"></td><td>x:</td><td>7</td><td>9</td></tr>
    </table>
    <div>
      <canvas id="chart_canvas" width="80" height="80" class="scale">
      </canvas>
    </div>
    
    <div class="slidecontent">
    [optional wrapper for slide content]
    </div>
        
    <div class="handout">
    [optional extra content not displayed in slide show]
    </div>
          
    <div class="notes">
    [optional extra content that shows up in notes window]
    </div>
    
    <div class="hide">
    [optional content not displayed at all]
    </div>
              
    <!-- optional background sound played during this slide -->
    <object data="[mp3 file]" archive="volume:50" type="audio/mp3" ...
    ... class="handout" declare="declare" width="0" height="0"></object>
    
  </div>
  
</div>

Wiki首页 | 查看所有 | 编辑 | 输出到博客 | 历史版本