Page 30 - Learn To Use HTML and CSS
P. 30

So You Want to Learn to Use HTML and CSS – Version 2020-06-12a                        Page 20
               Chapter 2 — Adding Images, Media, Color, and Font Effects

                       fre:ac   — An open source audio ripper encoder that was previously known as BonkEnc
                             32
                   •
             Free
                                   33
                       MediaCoder   — For computers using the Windows operating system
                   •
               Here is an example page with an image and audio on it:


             eBook
                <!DOCTYPE html>
                <html lang="en">
                    <head>
                         <meta charset="utf-8">
                         <title>Chapter 2 - Audio</title>
                    </head>
                    <body>
                         <h2>A Brief Reading from Moby Dick by Herman Melville</h2>
             Edition
                         <img src="media/PeterM-Whale-300px.png" alt="Blue Whale">
                         <p>Call me Ishmael. Some years ago- never mind how long precisely-
                         having little or no money in my purse, and nothing particular to
                         interest me on shore, I thought I would sail about a little and
                         see the watery part of the world.</p>
                         <audio controls>
                              <source src="media/mobydick_callme.mp3" type="audio/mpeg">
            Please support this work at
                              <source src="media/mobydick_callme.ogg" type="audio/ogg">
                              Your browser does not support the audio element.
                         </audio>
                         <p>Text from
                                  http://syw2l.org
                https://americanliterature.com/author/herman-melville/book/moby-dick-or-the-
                whale/chapter-1-loomings and in the public domain. Audio clip takenfrom
                https://librivox.org/moby-dick-by-herman-melville and in the public domain.
                Image of a whale was taken from https://openclipart.org/detail/120/whale and
                in the public domain.</p>
                    </body>
                </html>                                                        Free





                                                                   eBook








                                                                Edition



               32     https://www.freac.org/




               33   http://www.mediacoderhq.com/
               Copyright 2020 — James M. Reneau PhD — http://www.syw2l.org — This work is
               licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
   25   26   27   28   29   30   31   32   33   34   35