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

So You Want to Learn to Use HTML and CSS – Version 2020-06-12a                        Page 49
               Chapter 4 — Anchors and URLs


             Free








             eBook









             Edition








            Please support this work at
                                Illustration 15: Page with Many Types of Anchors


                <!DOCTYPE html>
                <html lang="en">
                    <head>        http://syw2l.org
                         <meta charset="utf-8">
                         <title>About Page</title>
                    </head>
                    <body>
                         <header style="background-color: pink;">              Free
                              <h1>Some Site</h1>
                              <h2>About</h2>
                              <p><a href="main.html">Links</a></p>
                         </header>
                                                                   eBook
                         <main>
                              <section>
                              <h2>About This Site</h2>
                              <p>This site is demonstrating the concept of the
                <em><a></em> tag and what a hyperlink is.</p>
                              </section>
                         </main>
                         <footer style="background-color: LightSteelBlue;">
                              <p><a href="about.html"><img src="media/question_75.png"
                alt="about"></a>
                         </footer>                              Edition
                    </body>


               Copyright 2020 — James M. Reneau PhD — http://www.syw2l.org — This work is
               licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
   54   55   56   57   58   59   60   61   62   63   64