Page 186 - Webapplication11_C11_Flipbook
P. 186

<TD>35.98</TD>
                 </TR>

                 <TR>
                   <TH COLSPAN="3">SUBTOTAL</TH>
                   <TD>610.88</TD>
                 </TR>

                 <TR>
                   <TH COLSPAN="2">TAX</TH>
                   <TD>7%</TD>
                   <TD>42.76</TD>
                 </TR>

                 <TR>
                   <TH COLSPAN="3">TOTAL</TH>
                   <TD>653.64</TD>

                 </TR>
              </TABLE>
              </BODY>
              </HTML>
              The output of the preceding code is shown:






















                 2.13 INSERTING AUDIO AND VIDEO IN A WEBPAGE

              The HTML5 <audio> and <video> tags allow us to add media to a website. To add media, we are required to set src
              attribute to identify the media source and include the controls attribute so the user can play and pause the media
              whenever required.

              Adding Audio
              We use <audio> tag to embed sound content in an HTML document.

              <!DOCTYPE HTML>
              <HTML>
              <HEAD>
              <TITLE> Audio </TITLE>
              </HEAD>
                184     Touchpad Web Applications-XI
   181   182   183   184   185   186   187   188   189   190   191