Search
 
SCRIPT & CODE EXAMPLE
 

HTML

put an border around an text in css

text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
Comment

how to add a border around text in html

<p style="border:3px; border-style:solid; border-color:#FF0000; padding: 1em;">
  First example with text surrounded by a red border.<br>This example also has multiple lines.
</p>
Comment

border for text in html

/*All types of border*/
p.dotted {border-style: dotted;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
Comment

how to write text on div border in html

<form>
<fieldset>
  <legend>Enter the details below</legend>
  <!--Inputs or anything-->
</fieldset>
</form>
Comment

PREVIOUS NEXT
Code Example
Html :: bootstrap 4 setup 
Html :: html get text from file 
Html :: full screen button in video tag html5 
Html :: html target 
Html :: white text html 
Html :: javascript on lose focus 
Html :: html meter change color 
Html :: html language tags and attributes 
Html :: meta redirect 
Html :: textarea html break line 
Html :: text bold in .md file 
Html :: html tag for modal 
Html :: html sample code 
Html :: html reload button 
Html :: how can i make a quote element in html 
Html :: how to display google map in html 
Html :: alert tailwind css 
Html :: how to code hello world in html 
Html :: html multi checkbox list 
Html :: why is html so easy 
Html :: nunjucks variables 
Html :: registration form template bootstrap 
Html :: colspan vertical 
Html :: range html 
Html :: how to make a table in html 
Html :: remove cell border css 
Html :: html5 datalist 
Html :: how to add an svg image to html 
Html :: meta name and content 
Html :: markdown background colour 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =