Technology Programming

How to Put Black Line in CSS

    • 1). Open your text editor program and launch the desired webpage, or access an online account that contains your page's code.

    • 2). Place your cursor before the ending "</head>" tag at the top. Type the following CSS code that creates the style rule for the horizontal rule tag:

      <style type="text/css">

      <!--

      hr { }

      -->

      </style>

    • 3). Type "color: black;" inside the curly brackets to indicate that each HR tag must be rendered as black. To illustrate:

      hr { color: black; }

    • 4). Save your work and upload the page to the Web host that manages your website (if applicable). Your complete CSS code now looks like this:

      <style type="text/css">

      <!--

      hr { color: black; }

      -->

      </style>

Related posts "Technology : Programming"

Differences Between Byte Array Vs. String

Programming

Web Design Company UK/

Programming

Develop A Quality Plan With These Self Help Tips

Programming

TMediaPlayer: What track am I on?

Programming

How You Can Prove Your Expertise

Programming

Furniture Advice And Tips And Also Hardwearing. Property Searching Wonderful

Programming

Web Design Fort Lauderdale Business

Programming

Hire Web Designer and Diminish Development Expenditure

Programming

Web Masters.

Programming

Leave a Comment