Answers for "underline heading tag css"

CSS
0

how to put a h1 tag with underline ::after

h1:after {
   background: none repeat scroll 0 0 #HEXCOLOR;
   bottom: -10px;
   content: "";
   display: block;
   height: 10px;
   position: relative;
   width: 100px;
}
Posted by: Guest on November-24-2020
6

underline text using css

/* Using 'text-decoration' property with 'underline' value. we can draw underline below the text using css */
<style>
p {
  text-decoration: underline;
}
</style>
<p>Hello all Welcome here !!!</p>
Posted by: Guest on June-04-2020

Browse Popular Code Answers by Language