Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Responsive Web Design and Testing Review: Responsive Web Design

underline

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
    <title> treehouse</title>
  <link rel="stylesheet" type="text/css" href="normalize.css">
  <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,700,700italic,800,400italic' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="index.css">
  <link rel="stylesheet" type="text/css" href="responsive.css">
  <meta name="viewpoint"content ="width=device-width, initial-scale=1.0">
  </head>
<body>
  <header>
       <a href="index.html"id ="logo">
           <h1> wanderley silva</h1>
           <h2> lighting tech</h2>
         </a>
     <nav>
        <ul>
        <li><a href="index.html">portfolio</a></li>
            <li><a href="about.html" class="selected">about</a></li>
            <li><a href="contact.html">contact</a></li>
        <li><a href="links.html"></a></li>

        </ul>
     </nav>
   </header>
   <div id="wrapper">
   <section>
    <ul id="gallery">
       <li>
         <a href="numbers-01.jpg">
           <img src="numbers-01.jpg" alt=" ">
           <p><strong> experimentacion with color and texture.</strong></p>
           </a>
      </li>
    <li>
         <a href="numbers-02.jpg">
           <img src="numbers-02.jpg" alt=" ">
           <p><strong> experimentacion with color and texture.</strong></p>
           </a>
       </li>
     <li>
         <a href="numbers-06.jpg">
           <img src="numbers-06.jpg" alt=" ">
           <p><strong> experimentacion with color and texture.</strong></p>
           </a>
       </li>
    <li>
        <a href="numbers-09.jpg">
           <img src="numbers-09.jpg" alt=" ">
           <p><strong> experimentacion with color and texture.</strong></p>
           </a>
       </li>
    <li>
        <a href="numbers-12.jpg">
           <img src="numbers-12.jpg" alt=" ">
           <p><strong> experimentacion with color and texture.</strong></p>
       </li>
           </a>
      </ul>    
        </section>

      </div>
  <footer>
          <a href=""><img class="link" src="facebook-wrap.png"alt="facebook logo" class="social-icon"></a>
          <a href=""><img class="link" src="twitter-wrap.png"alt="twitter logo"class ="social-icon"></a>
          <p> &copy; 2016 wanderley silva.</p>



  </footer>
</body>
</html>

you could try <hr>

or create a div like:

<div class="line"> </div>

.line { max-height: 1px; background-color: #000000; }

Steven Parker
Steven Parker
231,248 Points

1 Answer

Hi Wanderley,

Would you be able to explain what it is that you would like to have an underline please?

Craig